Sha256: 25b7ddf1ff31e9b282c8497272b88ebb727232ea53a8fd5295c0eb0c0c167dbf

Contents?: true

Size: 377 Bytes

Versions: 31

Compression:

Stored size: 377 Bytes

Contents

class Gillbus
  module GetCountries

    Gillbus.register self, :get_countries

    class Request < BaseRequest

      def path; '/online2/getCountries' end

    end

    class Country
      extend Fields
      include UpdateAttrs
      field :id
      field :name
    end

    class Response < BaseResponse
      field :countries, [Country], key: 'COUNTRY'
    end

  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

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