Class: Yelp::Fusion::Responses::Models::Categories

Inherits:
Base
  • Object
show all
Defined in:
lib/yelp/fusion/responses/models/categories.rb

Overview

Model for the Categories JSON body

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#aliasObject (readonly)

Returns the value of attribute alias.



29
30
31
# File 'lib/yelp/fusion/responses/models/categories.rb', line 29

def alias
  @alias
end

#titleObject (readonly)

Returns the value of attribute title.



29
30
31
# File 'lib/yelp/fusion/responses/models/categories.rb', line 29

def title
  @title
end