class FancyHands::V1::Client
Attributes
request[RW]
Public Class Methods
new(key, secret, test=false, url="https://www.fancyhands.com/api/v1/")
click to toggle source
# File lib/fancyhands/v1/client.rb, line 21 def initialize(key, secret, test=false, url="https://www.fancyhands.com/api/v1/") @request = Request.new(key, secret, test, url) @_standard = @_echo = @_custom = @_message = @_outgoing = @_incoming = @_number = @_history = nil end
Public Instance Methods
Custom()
click to toggle source
Lazy load custom
# File lib/fancyhands/v1/client.rb, line 43 def Custom if !@_custom @_custom = Custom.new(self) end @_custom end
Echo()
click to toggle source
Lazy load echo
# File lib/fancyhands/v1/client.rb, line 35 def Echo if !@_echo @_echo = Echo.new(self) end @_echo end
History()
click to toggle source
Lazy load History
# File lib/fancyhands/v1/client.rb, line 83 def History if !@_history @_history = History.new(self) end @_history end
Incoming()
click to toggle source
Lazy load Incoming
# File lib/fancyhands/v1/client.rb, line 67 def Incoming if !@_incoming @_incoming = Incoming.new(self) end @_incoming end
Message()
click to toggle source
Lazy load message
# File lib/fancyhands/v1/client.rb, line 51 def Message if !@_message @_message = Message.new(self) end @_message end
Number()
click to toggle source
Lazy load Number
# File lib/fancyhands/v1/client.rb, line 75 def Number if !@_number @_number = Number.new(self) end @_number end
Outgoing()
click to toggle source
Lazy load Outgoing
# File lib/fancyhands/v1/client.rb, line 59 def Outgoing if !@_outgoing @_outgoing = Outgoing.new(self) end @_outgoing end
Standard()
click to toggle source
Lazy load standard
# File lib/fancyhands/v1/client.rb, line 27 def Standard if !@_standard @_standard = Standard.new(self) end @_standard end