Class: TinyAppstoreConnect::Model::User

Inherits:
Object
  • Object
show all
Includes:
TinyAppstoreConnect::Model
Defined in:
lib/tiny_appstore_connect/models/user.rb

Defined Under Namespace

Modules: UserRole

Instance Attribute Summary collapse

Attributes included from TinyAppstoreConnect::Model

#id, #included, #rate

Class Method Summary collapse

Methods included from TinyAppstoreConnect::Model

included, #initialize, #update_attributes, #update_include

Instance Attribute Details

#all_apps_visibleObject

Returns the value of attribute all_apps_visible.



14
15
16
# File 'lib/tiny_appstore_connect/models/user.rb', line 14

def all_apps_visible
  @all_apps_visible
end

#first_nameObject

Returns the value of attribute first_name.



11
12
13
# File 'lib/tiny_appstore_connect/models/user.rb', line 11

def first_name
  @first_name
end

#last_nameObject

Returns the value of attribute last_name.



12
13
14
# File 'lib/tiny_appstore_connect/models/user.rb', line 12

def last_name
  @last_name
end

#provisioning_allowedObject

Returns the value of attribute provisioning_allowed.



15
16
17
# File 'lib/tiny_appstore_connect/models/user.rb', line 15

def provisioning_allowed
  @provisioning_allowed
end

#rolesObject

Returns the value of attribute roles.



13
14
15
# File 'lib/tiny_appstore_connect/models/user.rb', line 13

def roles
  @roles
end

#usernameObject

Returns the value of attribute username.



10
11
12
# File 'lib/tiny_appstore_connect/models/user.rb', line 10

def username
  @username
end

Class Method Details

.typeObject



33
34
35
# File 'lib/tiny_appstore_connect/models/user.rb', line 33

def self.type
  'users'
end