Sha256: 1bcb56c3227dcf6434f90e8b17ef6b510216ed66a50a53fa493524d937fd1917
Contents?: true
Size: 413 Bytes
Versions: 5
Compression:
Stored size: 413 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
5 entries across 5 versions & 1 rubygems