Class: AriaCoreRestClient
- Inherits:
-
AriaRestClient
- Object
- AriaRestClient
- AriaCoreRestClient
- Defined in:
- lib/aria_sdk/aria_core_rest_client.rb
Instance Attribute Summary collapse
-
#prod ⇒ Object
readonly
Returns the value of attribute prod.
Attributes inherited from AriaRestClient
Instance Method Summary collapse
-
#initialize(client_no, auth_key, prod = false) ⇒ AriaCoreRestClient
constructor
A new instance of AriaCoreRestClient.
Methods inherited from AriaRestClient
Constructor Details
#initialize(client_no, auth_key, prod = false) ⇒ AriaCoreRestClient
Returns a new instance of AriaCoreRestClient.
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/aria_sdk/aria_core_rest_client.rb', line 7 def initialize client_no, auth_key, prod = false @prod = prod url = if prod 'https://secure.ariasystems.net/api/ws/api_ws_class_dispatcher.php' else 'https://secure.future.stage.ariasystems.net/api/ws/api_ws_class_dispatcher.php' end super client_no, auth_key, url end |
Instance Attribute Details
#prod ⇒ Object (readonly)
Returns the value of attribute prod.
5 6 7 |
# File 'lib/aria_sdk/aria_core_rest_client.rb', line 5 def prod @prod end |