Class: NikeV2::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/nike_v2/base.rb

Direct Known Subclasses

Resource

Instance Method Summary collapse

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