Class: Alma::Configuration
- Inherits:
-
Object
- Object
- Alma::Configuration
- Defined in:
- lib/alma/config.rb
Instance Attribute Summary collapse
-
#apikey ⇒ Object
Returns the value of attribute apikey.
-
#region ⇒ Object
Returns the value of attribute region.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 17 |
# File 'lib/alma/config.rb', line 14 def initialize @apikey = "TEST_API_KEY" @region = 'https://api-na.hosted.exlibrisgroup.com' end |
Instance Attribute Details
#apikey ⇒ Object
Returns the value of attribute apikey.
12 13 14 |
# File 'lib/alma/config.rb', line 12 def apikey @apikey end |
#region ⇒ Object
Returns the value of attribute region.
12 13 14 |
# File 'lib/alma/config.rb', line 12 def region @region end |