Class: TotalVoice::Base
- Inherits:
-
Object
- Object
- TotalVoice::Base
- Includes:
- HTTParty
- Defined in:
- lib/total_voice/base.rb
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/total_voice/base.rb', line 8 def initialize self.class.headers 'Accept' => 'application/json', 'Content-Type' => 'application/json', 'Access-Token' => TotalVoice::Config.access_token end |