Sha256: b6e3c68bb679a7e982b6eb258f637990222ad24b96ca49076da4c42aa4568dae

Contents?: true

Size: 414 Bytes

Versions: 12

Compression:

Stored size: 414 Bytes

Contents

class Gillbus
  module GetAllCities

    Gillbus.register self, :get_all_cities

    class Request < BaseRequest
      def path; '/online2/getAllCities' 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

12 entries across 12 versions & 1 rubygems

Version Path
gillbus-0.14.8 lib/gillbus/get_all_cities.rb
gillbus-0.14.7 lib/gillbus/get_all_cities.rb
gillbus-0.14.6 lib/gillbus/get_all_cities.rb
gillbus-0.14.5 lib/gillbus/get_all_cities.rb
gillbus-0.14.4 lib/gillbus/get_all_cities.rb
gillbus-0.14.3 lib/gillbus/get_all_cities.rb
gillbus-0.14.2 lib/gillbus/get_all_cities.rb
gillbus-0.14.1 lib/gillbus/get_all_cities.rb
gillbus-0.14.0 lib/gillbus/get_all_cities.rb
gillbus-0.13.0 lib/gillbus/get_all_cities.rb
gillbus-0.12.0 lib/gillbus/get_all_cities.rb
gillbus-0.11.0 lib/gillbus/get_all_cities.rb