class Saber::Link

Included Modules

Defined in:

saber/methods/links/create_link.cr
saber/methods/links/retrieve_link.cr
saber/objects/link.cr

Constructors

Instance Method Summary

Constructor Detail

def self.create(creator : Int32, assets : Array(CreateAssetSize), title : String | Nil = nil, expires_at : String | Nil = nil, article_url : String | Nil = nil, organization : Int32 | Nil = nil, destination : String | Nil = nil) : Link #

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

[View source]
def self.retrieve(short_url : String) : Link #

[View source]

Instance Method Detail

def approval_status : String #

[View source]
def article_url : String #

[View source]
def assets : Array(Asset) #

[View source]
def bets : Array(String) #

[View source]
def created_at : Time #

[View source]
def creator : Creator #

[View source]
def destination : String #

[View source]
def embed : Embed #

[View source]
def expired : Bool #

[View source]
def id : Int32 #

[View source]
def link_type : String #

[View source]
def short_url : String #

[View source]
def title : String #

[View source]