Class: PlatformSdk::IdMapper::Models::Domain
- Inherits:
-
Object
- Object
- PlatformSdk::IdMapper::Models::Domain
- Defined in:
- lib/platform_sdk/id_mapper/models/domain.rb
Overview
Domain object returned by IdMapper
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_disabled ⇒ Object
Returns the value of attribute is_disabled.
-
#key ⇒ Object
Returns the value of attribute key.
-
#name ⇒ Object
Returns the value of attribute name.
-
#partner ⇒ Object
Returns the value of attribute partner.
-
#secret ⇒ Object
Returns the value of attribute secret.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Domain
constructor
A new instance of Domain.
Constructor Details
#initialize(attributes = {}) ⇒ Domain
Returns a new instance of Domain.
10 11 12 13 14 |
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 10 def initialize(attributes = {}) attributes.each do |key, value| instance_variable_set("@#{key}", value) end end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8 def id @id end |
#is_disabled ⇒ Object
Returns the value of attribute is_disabled.
8 9 10 |
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8 def is_disabled @is_disabled end |
#key ⇒ Object
Returns the value of attribute key.
8 9 10 |
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8 def key @key end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8 def name @name end |
#partner ⇒ Object
Returns the value of attribute partner.
8 9 10 |
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8 def partner @partner end |
#secret ⇒ Object
Returns the value of attribute secret.
8 9 10 |
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8 def secret @secret end |
#token ⇒ Object
Returns the value of attribute token.
8 9 10 |
# File 'lib/platform_sdk/id_mapper/models/domain.rb', line 8 def token @token end |