Sha256: fbe6dde4646d85f04bf4b7e551b182a6ddbec688cfad9292a35d7bd3417625e9

Contents?: true

Size: 437 Bytes

Versions: 3

Compression:

Stored size: 437 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
      field :name_full
    end

    class Response < BaseResponse
      field :cities, [City], key: 'CITY'
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gillbus-0.14.11 lib/gillbus/get_all_cities.rb
gillbus-0.14.10 lib/gillbus/get_all_cities.rb
gillbus-0.14.9 lib/gillbus/get_all_cities.rb