class NovaPoshta::Response::Warehouse
Attributes
city_description[RW]
city_description_ru[RW]
city_ref[RW]
delivery[RW]
description[RW]
description_ru[RW]
latitude[RW]
longitude[RW]
max_weight_allowed[RW]
number[RW]
phone[RW]
place_max_weight_allowed[RW]
pos_terminal[RW]
post_finance[RW]
reception[RW]
ref[RW]
schedule[RW]
site_key[RW]
total_max_weight_allowed[RW]
type_of_warehouse[RW]
Public Instance Methods
city(params={})
click to toggle source
ugly API do not provide searching by city reference
# File lib/nova_poshta/response/warehouse.rb, line 11 def city(params={}) address.cities(params).select { |city| city.ref == self.city_ref }.first.result end