Class: Antech::Resources::BaseResource
- Inherits:
-
Object
- Object
- Antech::Resources::BaseResource
- Defined in:
- lib/antech/resources/base_resource.rb
Instance Attribute Summary collapse
-
#auth_token ⇒ Object
readonly
Returns the value of attribute auth_token.
Instance Method Summary collapse
- #base_url ⇒ Object
-
#initialize(auth_token) ⇒ BaseResource
constructor
A new instance of BaseResource.
Constructor Details
#initialize(auth_token) ⇒ BaseResource
Returns a new instance of BaseResource.
10 11 12 |
# File 'lib/antech/resources/base_resource.rb', line 10 def initialize(auth_token) @auth_token = auth_token end |
Instance Attribute Details
#auth_token ⇒ Object (readonly)
Returns the value of attribute auth_token.
8 9 10 |
# File 'lib/antech/resources/base_resource.rb', line 8 def auth_token @auth_token end |
Instance Method Details
#base_url ⇒ Object
14 15 16 |
# File 'lib/antech/resources/base_resource.rb', line 14 def base_url 'https://onlineapi.antechdiagnostics.com/api' end |