Class: Yelp::Fusion::Responses::Match
- Defined in:
- lib/yelp/fusion/responses/match.rb
Overview
Base class to parse json from the Business Match endpoint
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) ⇒ Match
constructor
A new instance of Match.
Constructor Details
Instance Attribute Details
#businesses ⇒ Object (readonly)
Returns the value of attribute businesses.
31 32 33 |
# File 'lib/yelp/fusion/responses/match.rb', line 31 def businesses @businesses end |
#total ⇒ Object (readonly)
Returns the value of attribute total.
31 32 33 |
# File 'lib/yelp/fusion/responses/match.rb', line 31 def total @total end |