Class: Mintsoft::Client
- Inherits:
-
Object
- Object
- Mintsoft::Client
- Defined in:
- lib/mintsoft/client.rb
Constant Summary collapse
- BASE_URL =
"https://api.mintsoft.co.uk"
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#conn_opts ⇒ Object
readonly
Returns the value of attribute conn_opts.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
- #connection ⇒ Object
-
#initialize(token:, base_url: BASE_URL, conn_opts: {}) ⇒ Client
constructor
A new instance of Client.
- #orders ⇒ Object
- #returns ⇒ Object
Constructor Details
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
10 11 12 |
# File 'lib/mintsoft/client.rb', line 10 def base_url @base_url end |
#conn_opts ⇒ Object (readonly)
Returns the value of attribute conn_opts.
10 11 12 |
# File 'lib/mintsoft/client.rb', line 10 def conn_opts @conn_opts end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
10 11 12 |
# File 'lib/mintsoft/client.rb', line 10 def token @token end |