Class: Simplify::Constants
- Inherits:
-
Object
- Object
- Simplify::Constants
- Defined in:
- lib/simplify/constants.rb
Overview
Constants.
Constant Summary collapse
- @@version =
'1.3.0'
- @@api_base_live_url =
'https://api.simplify.com/v1/api'
- @@api_base_sandbox_url =
'https://sandbox.simplify.com/v1/api'
- @@oauth_base_url =
'https://www.simplify.com/commerce/oauth'
Class Method Summary collapse
-
.api_base_live_url ⇒ Object
Returns the base URL for the live API.
-
.api_base_sandbox_url ⇒ Object
Returns the base URL for the sandbox API.
-
.oauth_base_url ⇒ Object
Returns the base URL for OAuth.
-
.version ⇒ Object
Returns the SDK version.
Class Method Details
.api_base_live_url ⇒ Object
Returns the base URL for the live API.
39 40 41 |
# File 'lib/simplify/constants.rb', line 39 def self.api_base_live_url @@api_base_live_url end |
.api_base_sandbox_url ⇒ Object
Returns the base URL for the sandbox API.
44 45 46 |
# File 'lib/simplify/constants.rb', line 44 def self.api_base_sandbox_url @@api_base_sandbox_url end |
.oauth_base_url ⇒ Object
Returns the base URL for OAuth.
49 50 51 |
# File 'lib/simplify/constants.rb', line 49 def self.oauth_base_url @@oauth_base_url end |
.version ⇒ Object
Returns the SDK version.
54 55 56 |
# File 'lib/simplify/constants.rb', line 54 def self.version @@version end |