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.
25 26 27 28 29 |
# File 'lib/cb/models/implementations/work_status.rb', line 25 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.
23 24 25 |
# File 'lib/cb/models/implementations/work_status.rb', line 23 def language @language end |
#value ⇒ Object
Returns the value of attribute value.
23 24 25 |
# File 'lib/cb/models/implementations/work_status.rb', line 23 def value @value end |