Sha256: 437b7cb19126eb9c541e5db983de37e4cfda813f1c6595d3d64f334a7573ecd2
Contents?: true
Size: 414 Bytes
Versions: 4
Compression:
Stored size: 414 Bytes
Contents
module Moip2 class MultiOrderApi attr_reader :client def initialize(client) @client = client end def base_path "/v2/multiorders" end def create(multi_order) Resource::MultiOrder.new client, client.post(base_path, multi_order) end def show(multi_order_id) Resource::MultiOrder.new client, client.get("#{base_path}/#{multi_order_id}") end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
moip2-0.1.4 | lib/moip2/multi_order_api.rb |
moip2-0.1.3 | lib/moip2/multi_order_api.rb |
moip2-0.1.1 | lib/moip2/multi_order_api.rb |
moip2-0.1.0 | lib/moip2/multi_order_api.rb |