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