Class: B2bCenterApi::WebService::Types::ServiceRow
- Defined in:
- lib/b2b_center_api/web_service/types/service_row.rb
Overview
Список услуг
Constant Summary
Constants inherited from BaseType
Instance Attribute Summary collapse
-
#id ⇒ Integer
readonly
Номер услуги.
-
#name ⇒ String
readonly
Название услуги.
Attributes inherited from BaseType
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ ServiceRow
constructor
A new instance of ServiceRow.
Methods inherited from BaseType
Methods included from B2bCenterApi::WebService::TypeCast
Constructor Details
#initialize(args = {}) ⇒ ServiceRow
Returns a new instance of ServiceRow.
11 12 13 14 |
# File 'lib/b2b_center_api/web_service/types/service_row.rb', line 11 def initialize(args = {}) @id = args[:id] @name = args[:name] end |
Instance Attribute Details
#id ⇒ Integer (readonly)
Returns Номер услуги.
7 8 9 |
# File 'lib/b2b_center_api/web_service/types/service_row.rb', line 7 def id @id end |
#name ⇒ String (readonly)
Returns Название услуги.
9 10 11 |
# File 'lib/b2b_center_api/web_service/types/service_row.rb', line 9 def name @name end |