Class: Supersaas::BaseApi
- Inherits:
-
Object
- Object
- Supersaas::BaseApi
- Defined in:
- lib/supersaas-api-client/api/base_api.rb
Direct Known Subclasses
Constant Summary collapse
- INTEGER_REGEX =
/\A[0-9]+\Z/.freeze
- DATETIME_REGEX =
/\A\d{4}-\d{1,2}-\d{1,2}\s\d{1,2}:\d{1,2}:\d{1,2}\Z/.freeze
- PROMOTION_REGEX =
/\A[0-9a-zA-Z]+\Z/.freeze
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ BaseApi
constructor
A new instance of BaseApi.
Constructor Details
#initialize(client) ⇒ BaseApi
Returns a new instance of BaseApi.
11 12 13 |
# File 'lib/supersaas-api-client/api/base_api.rb', line 11 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
5 6 7 |
# File 'lib/supersaas-api-client/api/base_api.rb', line 5 def client @client end |