module Besepa::ApiCalls::Create::ClassMethods

Public Instance Methods

create(params, filters={}) click to toggle source
# File lib/besepa/api_calls/create.rb, line 5
def create(params, filters={})
  payload = {}
  payload[klass_name] = params
  response = post "/#{api_path(filters)}", payload
  self.new(response['response'])
end