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.16.7 lib/gillbus/get_countries.rb
gillbus-0.16.6 lib/gillbus/get_countries.rb
gillbus-0.16.5 lib/gillbus/get_countries.rb
gillbus-0.16.4 lib/gillbus/get_countries.rb
gillbus-0.16.3 lib/gillbus/get_countries.rb
gillbus-0.16.2 lib/gillbus/get_countries.rb
gillbus-0.16.1 lib/gillbus/get_countries.rb
gillbus-0.15.7 lib/gillbus/get_countries.rb
gillbus-0.15.6 lib/gillbus/get_countries.rb
gillbus-0.15.5 lib/gillbus/get_countries.rb
gillbus-0.15.4 lib/gillbus/get_countries.rb
gillbus-0.15.3 lib/gillbus/get_countries.rb
gillbus-0.15.2 lib/gillbus/get_countries.rb
gillbus-0.15.1 lib/gillbus/get_countries.rb
gillbus-0.15.0 lib/gillbus/get_countries.rb
gillbus-0.14.12 lib/gillbus/get_countries.rb
gillbus-0.14.11 lib/gillbus/get_countries.rb
gillbus-0.14.10 lib/gillbus/get_countries.rb
gillbus-0.14.9 lib/gillbus/get_countries.rb
gillbus-0.14.8 lib/gillbus/get_countries.rb