module Fastbill::Automatic::Services::Create::ClassMethods
Public Instance Methods
create(attributes)
click to toggle source
# File lib/fastbill-automatic/services/create.rb, line 7 def create(attributes) response = Fastbill::Automatic.request("#{self.name.split("::").last.downcase}.create", attributes) self.new(response["RESPONSE"]) end