class Source

Included Modules

Defined in:

models/source.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Models::Shared::Id

id! : Int32 id!

Constructor Detail

def self.find(id : Int32) : Source #

[View source]
def self.new(id : Int32 | Nil, name : String | Nil, url : String | Nil, user_id : Int32) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.all #

[View source]

Instance Method Detail

def id : Int32 | Nil #

[View source]
def id=(id : Int32 | Nil) #

[View source]
def name : String | Nil #

[View source]
def name=(name : String | Nil) #

[View source]
def save #

[View source]
def url : String | Nil #

[View source]
def url=(url : String | Nil) #

[View source]
def user_id : Int32 #

[View source]
def user_id=(user_id : Int32) #

[View source]