Class: Keysms::Info

Inherits:
KeyteqService show all
Defined in:
lib/keysms.rb

Instance Attribute Summary

Attributes inherited from KeyteqService

#result

Instance Method Summary collapse

Methods inherited from KeyteqService

#authenticate, #initialize

Constructor Details

This class inherits a constructor from Keysms::KeyteqService

Instance Method Details

#infoObject



108
109
110
111
112
113
114
115
116
# File 'lib/keysms.rb', line 108

def info
  @options[:path] = "/auth/current.json"
  @payload[:user] = true
  @payload[:account] = true
  
  prepare_request
  prepare_session
  call
end