Skip to content

Instantly share code, notes, and snippets.

@itspriddle
Created May 25, 2011 20:49
Show Gist options
  • Select an option

  • Save itspriddle/991932 to your computer and use it in GitHub Desktop.

Select an option

Save itspriddle/991932 to your computer and use it in GitHub Desktop.
required_params :i, :city, :region, :postal, :country, :license_key
optional_params :domain, :bin, :binName, :binPhone, :custPhone,
:requested_type, :forwardedIP, :emailMD5, :usernameMD5,
:passwordMD5, :shipAddr, :shipCity, :shipRegion,
:shipPostal, :shipCountry, :textID, :sessionID,
:user_agent, :accept_language
# - OR -
params :required => [:i, :city, :region, :postal, :country, :license_key],
:optional => [
:domain, :bin, :binName, :binPhone, :custPhone, :requested_type,
:forwardedIP, :emailMD5, :usernameMD5, :passwordMD5, :shipAddr,
:shipCity, :shipRegion, :shipPostal, :shipCountry, :textID,
:sessionID, :user_agent, :accept_language
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment