module Invoiced::Operations::Create

Public Instance Methods

create(body={}, opts={}) click to toggle source
# File lib/invoiced/operations/create.rb, line 4
def create(body={}, opts={})
    response = @client.request(:post, endpoint(), body, opts)

    Util.convert_to_object(self, response[:body])
end