struct Kutt::Link
- Kutt::Link
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
kutt/links.crConstructors
- .new(address : String, banned : Bool, id : String, link : String, password : Bool, target : String, visit_count : Int32, created_at : String, updated_at : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #address : String
- #banned : Bool
- #clone
- #copy_with(address _address = @address, banned _banned = @banned, id _id = @id, link _link = @link, password _password = @password, target _target = @target, visit_count _visit_count = @visit_count, created_at _created_at = @created_at, updated_at _updated_at = @updated_at)
- #created_at : String
- #id : String
- #link : String
- #password : Bool
- #target : String
- #updated_at : String
- #visit_count : Int32
Constructor Detail
def self.new(address : String, banned : Bool, id : String, link : String, password : Bool, target : String, visit_count : Int32, created_at : String, updated_at : String)
#
Instance Method Detail
def copy_with(address _address = @address, banned _banned = @banned, id _id = @id, link _link = @link, password _password = @password, target _target = @target, visit_count _visit_count = @visit_count, created_at _created_at = @created_at, updated_at _updated_at = @updated_at)
#