lib/hungry/review.rb in hungry-0.0.1 vs lib/hungry/review.rb in hungry-0.1.0

- old
+ new

@@ -1,19 +1,19 @@ -require 'httparty' - module Hungry class Review < Resource + ### RESOURCES: + + belongs_to :venue, 'Hungry::Venue' + + has_many :responses, 'Hungry::Response' + ### ATTRIBUTES: ### Review: attr_accessor :id, :body, :rating, :scores, :author, ### Utility: :created_at, :updated_at - - ### RESOURCES: - - belongs_to :venue, Venue end end