class FastBound::Client
Attributes
account_email[RW]
account_number[RW]
api_key[RW]
Public Class Methods
new(options = {})
click to toggle source
# File lib/fastbound-ruby/client.rb, line 18 def initialize(options = {}) requires!(options, :account_number, :api_key, :account_email) self.account_number = options[:account_number] self.api_key = options[:api_key] self.account_email = options[:account_email] end
Public Instance Methods
account()
click to toggle source
# File lib/fastbound-ruby/client.rb, line 26 def account @account ||= FastBound::Account.new(self) end
acquisition()
click to toggle source
# File lib/fastbound-ruby/client.rb, line 30 def acquisition @acquisition ||= FastBound::Acquisition.new(self) end
attachment()
click to toggle source
# File lib/fastbound-ruby/client.rb, line 34 def attachment @attachment ||= FastBound::Attachment.new(self) end
contact()
click to toggle source
# File lib/fastbound-ruby/client.rb, line 38 def contact @contact ||= FastBound::Contact.new(self) end
disposition()
click to toggle source
# File lib/fastbound-ruby/client.rb, line 42 def disposition @disposition ||= FastBound::Disposition.new(self) end
item()
click to toggle source
# File lib/fastbound-ruby/client.rb, line 46 def item @item ||= FastBound::Item.new(self) end
smart_list()
click to toggle source
# File lib/fastbound-ruby/client.rb, line 50 def smart_list @smart_list ||= FastBound::SmartList.new(self) end
webhook()
click to toggle source
# File lib/fastbound-ruby/client.rb, line 54 def webhook @webhook ||= FastBound::Webhook.new(self) end