Class: Freshdesk::Util::Client
- Inherits:
-
Object
- Object
- Freshdesk::Util::Client
- Includes:
- Authenticable, Request, HTTParty
- Defined in:
- lib/freshdesk/api/v2/util/client.rb
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Request
Methods included from Authenticable
Constructor Details
#initialize(attrs = {}) ⇒ Client
Returns a new instance of Client.
12 13 14 15 16 |
# File 'lib/freshdesk/api/v2/util/client.rb', line 12 def initialize(attrs={}) attrs.each do |key, value| instance_variable_set("@#{key}".to_sym, value) end end |