Class: Decibel::MainIdentity
- Inherits:
-
Object
- Object
- Decibel::MainIdentity
- Defined in:
- lib/wrapper/resources/main_indentity.rb
Instance Attribute Summary collapse
-
#Id ⇒ Object
Returns the value of attribute Id.
-
#LiteralName ⇒ Object
Returns the value of attribute LiteralName.
Instance Method Summary collapse
-
#initialize(args) ⇒ MainIdentity
constructor
A new instance of MainIdentity.
Constructor Details
#initialize(args) ⇒ MainIdentity
Returns a new instance of MainIdentity.
5 6 7 8 9 |
# File 'lib/wrapper/resources/main_indentity.rb', line 5 def initialize args args.each do |k, v| instance_variable_set("@#{k}", v) unless v.nil? end end |
Instance Attribute Details
#Id ⇒ Object
Returns the value of attribute Id.
3 4 5 |
# File 'lib/wrapper/resources/main_indentity.rb', line 3 def Id @Id end |
#LiteralName ⇒ Object
Returns the value of attribute LiteralName.
3 4 5 |
# File 'lib/wrapper/resources/main_indentity.rb', line 3 def LiteralName @LiteralName end |