Class: Esignatur::Client
- Inherits:
-
Object
- Object
- Esignatur::Client
- Defined in:
- lib/esignatur/client.rb
Overview
main API class
Constant Summary collapse
- DEFAULT_BASE_URL =
'https://api.esignatur.dk'
Instance Method Summary collapse
-
#initialize(**options) ⇒ Client
constructor
A new instance of Client.
- #orders ⇒ Object
Constructor Details
#initialize(**options) ⇒ Client
Returns a new instance of Client.
7 8 9 |
# File 'lib/esignatur/client.rb', line 7 def initialize(**) @api = Esignatur::Api.new(**) end |
Instance Method Details
#orders ⇒ Object
11 12 13 |
# File 'lib/esignatur/client.rb', line 11 def orders Orders.new(api: api) end |