class EasyPost::ScanForm

Public Class Methods

create(params={}, api_key=nil) click to toggle source
# File lib/easypost/scan_form.rb, line 2
def self.create(params={}, api_key=nil)
  response = EasyPost.make_request(:post, self.url, api_key, params)
  return EasyPost::Util.convert_to_easypost_object(response, api_key)
end