Class: ITGlue::Config
- Inherits:
-
Object
- Object
- ITGlue::Config
- Defined in:
- lib/itglue.rb
Constant Summary collapse
- DEFAULT_PAGE_SIZE =
500
Instance Attribute Summary collapse
-
#default_page_size ⇒ Object
Returns the value of attribute default_page_size.
-
#itglue_api_base_uri ⇒ Object
Returns the value of attribute itglue_api_base_uri.
-
#itglue_api_key ⇒ Object
Returns the value of attribute itglue_api_key.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
21 22 23 |
# File 'lib/itglue.rb', line 21 def initialize @default_page_size = DEFAULT_PAGE_SIZE end |
Instance Attribute Details
#default_page_size ⇒ Object
Returns the value of attribute default_page_size.
19 20 21 |
# File 'lib/itglue.rb', line 19 def default_page_size @default_page_size end |
#itglue_api_base_uri ⇒ Object
Returns the value of attribute itglue_api_base_uri.
19 20 21 |
# File 'lib/itglue.rb', line 19 def itglue_api_base_uri @itglue_api_base_uri end |
#itglue_api_key ⇒ Object
Returns the value of attribute itglue_api_key.
19 20 21 |
# File 'lib/itglue.rb', line 19 def itglue_api_key @itglue_api_key end |
#logger ⇒ Object
Returns the value of attribute logger.
19 20 21 |
# File 'lib/itglue.rb', line 19 def logger @logger end |