Class: NikeV2::Base
- Inherits:
-
Object
- Object
- NikeV2::Base
- Defined in:
- lib/nike_v2/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(attributes = {}) ⇒ Base
Returns a new instance of Base.
3 4 5 6 |
# File 'lib/nike_v2/base.rb', line 3 def initialize(attributes={}) @created_at = attributes.delete('created_at') set_attributes(attributes) end |