Class: Yelp::Fusion::Responses::Models::Categories
- Defined in:
- lib/yelp/fusion/responses/models/categories.rb
Overview
Model for the Categories JSON body
Instance Attribute Summary collapse
-
#alias ⇒ Object
readonly
Returns the value of attribute alias.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(json) ⇒ Categories
constructor
A new instance of Categories.
Constructor Details
#initialize(json) ⇒ Categories
Returns a new instance of Categories.
30 31 32 |
# File 'lib/yelp/fusion/responses/models/categories.rb', line 30 def initialize(json) super(json) end |
Instance Attribute Details
#alias ⇒ Object (readonly)
Returns the value of attribute alias.
29 30 31 |
# File 'lib/yelp/fusion/responses/models/categories.rb', line 29 def alias @alias end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
29 30 31 |
# File 'lib/yelp/fusion/responses/models/categories.rb', line 29 def title @title end |