5 6 7 8 9 10 11
# File 'lib/conekta/operations/create.rb', line 5 def create(params) url = Util.types[self.class_name.downcase].url response = Requestor.new.request(:post, url, params) instance = self.new instance.load_from(response) instance end