Class: Yelp::Fusion::Responses::Phone
- Defined in:
- lib/yelp/fusion/responses/phone.rb
Overview
Base class to parse the business phone response JSON
Instance Attribute Summary collapse
-
#businesses ⇒ Object
readonly
Returns the value of attribute businesses.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(json) ⇒ Phone
constructor
A new instance of Phone.
Constructor Details
Instance Attribute Details
#businesses ⇒ Object (readonly)
Returns the value of attribute businesses.
32 33 34 |
# File 'lib/yelp/fusion/responses/phone.rb', line 32 def businesses @businesses end |
#total ⇒ Object (readonly)
Returns the value of attribute total.
32 33 34 |
# File 'lib/yelp/fusion/responses/phone.rb', line 32 def total @total end |