Class: Yelp::Response::Search
Instance Attribute Summary collapse
-
#businesses ⇒ Object
readonly
Returns the value of attribute businesses.
-
#region ⇒ Object
readonly
Returns the value of attribute region.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(json) ⇒ Search
constructor
A new instance of Search.
Constructor Details
Instance Attribute Details
#businesses ⇒ Object (readonly)
Returns the value of attribute businesses.
8 9 10 |
# File 'lib/yelp/responses/search.rb', line 8 def businesses @businesses end |
#region ⇒ Object (readonly)
Returns the value of attribute region.
8 9 10 |
# File 'lib/yelp/responses/search.rb', line 8 def region @region end |
#total ⇒ Object (readonly)
Returns the value of attribute total.
8 9 10 |
# File 'lib/yelp/responses/search.rb', line 8 def total @total end |