Class: B2bCenterApi::WebService::Types::ArrayOfServices
- Defined in:
- lib/b2b_center_api/web_service/types/array_of_services.rb
Overview
Список доступных услуг
Constant Summary
Constants inherited from BaseType
Instance Attribute Summary
Attributes inherited from BaseType
Class Method Summary collapse
Methods inherited from BaseType
Methods included from B2bCenterApi::WebService::TypeCast
Class Method Details
.from_response(response) ⇒ ServiceRow
7 8 9 10 11 12 13 |
# File 'lib/b2b_center_api/web_service/types/array_of_services.rb', line 7 def self.from_response(response) r = response.result return if r.nil? Array(r[:services]).map do |service| ServiceRow.new(service) end end |