Class: Woopy::Role

Inherits:
Resource
  • Object
show all
Defined in:
lib/woopy/role.rb

Instance Method Summary collapse

Methods inherited from Resource

headers

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