Sha256: 2293abc9ad0f37e509bc7bd6d265d5c2e5ffc2a3ff01f3cc28f3b1f4430464e1

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

# encoding: utf-8

module ViglinkApi
  module Country

    ##
    # Retrieve the list of supported Countries
    #
    # @return [Hashie::Mash] Country
    def find_countries
      options = {}
      options[:key] = @api_key
      countries_response = get('/vigcatalog/countries.xml', options)
      countries_response.response if countries_response.response
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
viglink-api-0.1.1 lib/viglink_api/country.rb
viglink-api-0.1.0 lib/viglink_api/country.rb