Class: ApipiePostman::Configuration
- Inherits:
-
Object
- Object
- ApipiePostman::Configuration
- Defined in:
- lib/apipie-postman.rb
Overview
Configuration class for gem
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#postman_api_key ⇒ Object
Returns the value of attribute postman_api_key.
-
#postman_collection_name ⇒ Object
Returns the value of attribute postman_collection_name.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
22 23 24 25 26 |
# File 'lib/apipie-postman.rb', line 22 def initialize @postman_api_key = '' @postman_collection_name = '' @base_url = '' end |
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
18 19 20 |
# File 'lib/apipie-postman.rb', line 18 def base_url @base_url end |
#postman_api_key ⇒ Object
Returns the value of attribute postman_api_key.
18 19 20 |
# File 'lib/apipie-postman.rb', line 18 def postman_api_key @postman_api_key end |
#postman_collection_name ⇒ Object
Returns the value of attribute postman_collection_name.
18 19 20 |
# File 'lib/apipie-postman.rb', line 18 def postman_collection_name @postman_collection_name end |