Class: Cb::Models::WorkStatus::Translation
- Inherits:
-
Object
- Object
- Cb::Models::WorkStatus::Translation
- Defined in:
- lib/cb/models/implementations/work_status.rb
Instance Attribute Summary collapse
-
#language ⇒ Object
Returns the value of attribute language.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Translation
constructor
A new instance of Translation.
Constructor Details
#initialize(args = {}) ⇒ Translation
Returns a new instance of Translation.
15 16 17 18 19 |
# File 'lib/cb/models/implementations/work_status.rb', line 15 def initialize(args = {}) return if args.nil? @language = args['Language'] || '' @value = args['Value'] || '' end |
Instance Attribute Details
#language ⇒ Object
Returns the value of attribute language.
13 14 15 |
# File 'lib/cb/models/implementations/work_status.rb', line 13 def language @language end |
#value ⇒ Object
Returns the value of attribute value.
13 14 15 |
# File 'lib/cb/models/implementations/work_status.rb', line 13 def value @value end |