Class: OneRoster::Types::Application
- Defined in:
- lib/types/application.rb
Instance Attribute Summary collapse
-
#app_id ⇒ Object
readonly
Returns the value of attribute app_id.
-
#bearer ⇒ Object
readonly
Returns the value of attribute bearer.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#tenant_name ⇒ Object
readonly
Returns the value of attribute tenant_name.
-
#uid ⇒ Object
readonly
Returns the value of attribute uid.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Application
constructor
A new instance of Application.
Methods inherited from Base
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_id ⇒ Object (readonly)
Returns the value of attribute app_id.
4 5 6 |
# File 'lib/types/application.rb', line 4 def app_id @app_id end |
#bearer ⇒ Object (readonly)
Returns the value of attribute bearer.
4 5 6 |
# File 'lib/types/application.rb', line 4 def bearer @bearer end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/types/application.rb', line 4 def name @name end |
#tenant_name ⇒ Object (readonly)
Returns the value of attribute tenant_name.
4 5 6 |
# File 'lib/types/application.rb', line 4 def tenant_name @tenant_name end |
#uid ⇒ Object (readonly)
Returns the value of attribute uid.
4 5 6 |
# File 'lib/types/application.rb', line 4 def uid @uid end |