class B2bCenterApi::WebService::Types::ArrayOfIds

Массив ID или других строк

Public Class Methods

from_part_response(response) click to toggle source

@return [String

# File lib/b2b_center_api/web_service/types/array_of_ids.rb, line 7
def self.from_part_response(response)
  return [] if response.nil?
  to_array(response).map { |n| convert(n[:string], :string) }
end
from_response(response) click to toggle source
# File lib/b2b_center_api/web_service/types/array_of_ids.rb, line 12
def self.from_response(response)
  r = response.result
  return if r.nil?
  Array(r[:ids])
end