Class: OneRoster::Types::Application

Inherits:
Base
  • Object
show all
Defined in:
lib/types/application.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#to_h

Constructor Details

#initialize(attributes = {}) ⇒ Application

Returns a new instance of Application.



10
11
12
13
14
15
16
# File 'lib/types/application.rb', line 10

def initialize(attributes = {}, *)
  @uid         = attributes['id']
  @bearer      = attributes['bearer']
  @name        = attributes['name']
  @tenant_name = attributes['tenant_name']
  @app_id      = attributes['oneroster_application_id']
end

Instance Attribute Details

#app_idObject (readonly)

Returns the value of attribute app_id.



4
5
6
# File 'lib/types/application.rb', line 4

def app_id
  @app_id
end

#bearerObject (readonly)

Returns the value of attribute bearer.



4
5
6
# File 'lib/types/application.rb', line 4

def bearer
  @bearer
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/types/application.rb', line 4

def name
  @name
end

#tenant_nameObject (readonly)

Returns the value of attribute tenant_name.



4
5
6
# File 'lib/types/application.rb', line 4

def tenant_name
  @tenant_name
end

#uidObject (readonly)

Returns the value of attribute uid.



4
5
6
# File 'lib/types/application.rb', line 4

def uid
  @uid
end