Class: Reggora::VendorApiClient
- Inherits:
-
Object
- Object
- Reggora::VendorApiClient
- Defined in:
- lib/reggora.rb
Instance Method Summary collapse
-
#initialize(username, password, integration_token) ⇒ VendorApiClient
constructor
A new instance of VendorApiClient.
Constructor Details
#initialize(username, password, integration_token) ⇒ VendorApiClient
Returns a new instance of VendorApiClient.
49 50 51 52 53 |
# File 'lib/reggora.rb', line 49 def initialize(username, password, integration_token) = ApiClient.authenticate(username, password, 'vendor') @api_client = Requests.new(["token"], integration_token, 'vendor') # Todo end |