Sha256: d2011cb15d5629150a637cbe6166a439b021cc4302b2907268215aa218cc8825
Contents?: true
Size: 528 Bytes
Versions: 31
Compression:
Stored size: 528 Bytes
Contents
class Gillbus module GetCities Gillbus.register self, :get_cities class Request < BaseRequest def path; '/online2/getCities' end attr_accessor :start_city_id def params { startCityId: start_city_id, } end end class City extend Fields include UpdateAttrs field :id field :name field :country_id field :country_name end class Response < BaseResponse field :cities, [City], key: 'CITY' end end end
Version data entries
31 entries across 31 versions & 1 rubygems