class CanadaPost::Credentials
Attributes
customer_number[R]
mode[R]
password[R]
username[R]
Public Class Methods
new(options={})
click to toggle source
# File lib/canada_post/credentials.rb, line 7 def initialize(options={}) requires!(options, :username, :password, :customer_number, :mode) @username = options[:username] @password = options[:password] @customer_number = options[:customer_number] @mode = options[:mode] || 'development' end