Class: Hungry::Review

Inherits:
Resource show all
Defined in:
lib/hungry/review.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#attributes, #data_source, #resources

Method Summary

Methods inherited from Resource

all, belongs_to, #canonical_data_source, collection, each, find, first, get, has_many, #initialize, lazy_load, #reload

Constructor Details

This class inherits a constructor from Hungry::Resource

Instance Attribute Details

#authorObject

Review:



13
14
15
# File 'lib/hungry/review.rb', line 13

def author
  @author
end

#bodyObject

Review:



13
14
15
# File 'lib/hungry/review.rb', line 13

def body
  @body
end

#created_atObject

Review:



13
14
15
# File 'lib/hungry/review.rb', line 13

def created_at
  @created_at
end

#idObject

Review:



13
14
15
# File 'lib/hungry/review.rb', line 13

def id
  @id
end

#ratingObject

Review:



13
14
15
# File 'lib/hungry/review.rb', line 13

def rating
  @rating
end

#scoresObject

Review:



13
14
15
# File 'lib/hungry/review.rb', line 13

def scores
  @scores
end

#updated_atObject

Review:



13
14
15
# File 'lib/hungry/review.rb', line 13

def updated_at
  @updated_at
end