Class: UserEngage::Client
- Inherits:
-
Object
- Object
- UserEngage::Client
- Defined in:
- lib/user_engage/client.rb
Instance Method Summary collapse
-
#delete(path) ⇒ Object
Public: Calls the base_url with the given path and parameters.
-
#get(path, parameters) ⇒ Object
Public: Calls the base_url with the given path and parameters.
-
#initialize(configuration) ⇒ Client
constructor
Instance methods ##.
Constructor Details
#initialize(configuration) ⇒ Client
Instance methods ##
8 9 10 |
# File 'lib/user_engage/client.rb', line 8 def initialize(configuration) @configuration = configuration end |
Instance Method Details
#delete(path) ⇒ Object
Public: Calls the base_url with the given path and parameters
20 21 22 |
# File 'lib/user_engage/client.rb', line 20 def delete(path) request(:delete, path) end |
#get(path, parameters) ⇒ Object
Public: Calls the base_url with the given path and parameters
14 15 16 |
# File 'lib/user_engage/client.rb', line 14 def get(path, parameters) request(:get, path, parameters) end |