class Fitbark::Data::UserRelation
Defines structure for user relation between a dog.
Original attribute names from source API:
-
id
-
date
-
status
-
dog
Public Instance Methods
date()
click to toggle source
parse source String value into Date for date attribute
# File lib/fitbark/data/user_relation.rb, line 19 def date date_parser(self[:date]) end
Also aliased as: related_on
dog()
click to toggle source
dog as object kind Fitbark::Data::DogInfo
# File lib/fitbark/data/user_relation.rb, line 14 def dog Fitbark::Data::DogInfo.new(self[:dog]) end