Class: Wes::Data::API::Model::Brand
- Defined in:
- lib/wes/data/api/model/brand.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Wes::Data::API::Model::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Wes::Data::API::Model::Base
Instance Method Details
#challenges ⇒ Object
9 10 11 12 13 14 |
# File 'lib/wes/data/api/model/brand.rb', line 9 def challenges route = [routes.brand, id, routes.challenges].join("/") map_objects( client.get(route), Wes::Data::API::Model::Challenge ) end |