Module: Rajaongkir
- Defined in:
- lib/rajaongkir.rb,
lib/rajaongkir/api.rb,
lib/rajaongkir/error.rb,
lib/rajaongkir/version.rb,
lib/rajaongkir/response.rb
Defined Under Namespace
Classes: API, ConnectionError, Error, OpenTimeoutError, ReadTimeoutError, Response, SystemError
Constant Summary
collapse
- VERSION =
"0.1.2"
Class Method Summary
collapse
Class Method Details
.new(api_key, opts = {}) ⇒ Object
api_key = API Key from RajaOngkir opts = Host of RajaOngkir opts = Account Type (starter/basic/pro)
11
12
13
|
# File 'lib/rajaongkir.rb', line 11
def new(api_key, opts = {})
Rajaongkir::API.new(api_key, default_options.merge(opts))
end
|