Class: Woopy::Employment
- Defined in:
- lib/woopy/employment.rb
Instance Method Summary collapse
-
#initialize(attributes = {}, persisted = false) ⇒ Employment
constructor
A new instance of Employment.
Methods inherited from Resource
Constructor Details
#initialize(attributes = {}, persisted = false) ⇒ Employment
Returns a new instance of Employment.
3 4 5 6 |
# File 'lib/woopy/employment.rb', line 3 def initialize(attributes = {}, persisted = false) self.class.site = Resource.site + "accounts/:account_id/" super(attributes, persisted) end |