Class: ApiProxy::Config
- Inherits:
-
Object
- Object
- ApiProxy::Config
- Defined in:
- lib/api_proxy/config.rb
Instance Attribute Summary collapse
-
#allowed_headers ⇒ Object
Returns the value of attribute allowed_headers.
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_secret ⇒ Object
Returns the value of attribute api_secret.
-
#api_url ⇒ Object
Returns the value of attribute api_url.
-
#custom_headers ⇒ Object
Returns the value of attribute custom_headers.
-
#reject_params ⇒ Object
Returns the value of attribute reject_params.
-
#request_allowed ⇒ Object
Returns the value of attribute request_allowed.
-
#request_starts_with ⇒ Object
Returns the value of attribute request_starts_with.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
14 15 16 |
# File 'lib/api_proxy/config.rb', line 14 def initialize load_defaults end |
Instance Attribute Details
#allowed_headers ⇒ Object
Returns the value of attribute allowed_headers.
5 6 7 |
# File 'lib/api_proxy/config.rb', line 5 def allowed_headers @allowed_headers end |
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/api_proxy/config.rb', line 5 def api_key @api_key end |
#api_secret ⇒ Object
Returns the value of attribute api_secret.
5 6 7 |
# File 'lib/api_proxy/config.rb', line 5 def api_secret @api_secret end |
#api_url ⇒ Object
Returns the value of attribute api_url.
5 6 7 |
# File 'lib/api_proxy/config.rb', line 5 def api_url @api_url end |
#custom_headers ⇒ Object
Returns the value of attribute custom_headers.
5 6 7 |
# File 'lib/api_proxy/config.rb', line 5 def custom_headers @custom_headers end |
#reject_params ⇒ Object
Returns the value of attribute reject_params.
5 6 7 |
# File 'lib/api_proxy/config.rb', line 5 def reject_params @reject_params end |
#request_allowed ⇒ Object
Returns the value of attribute request_allowed.
5 6 7 |
# File 'lib/api_proxy/config.rb', line 5 def request_allowed @request_allowed end |
#request_starts_with ⇒ Object
Returns the value of attribute request_starts_with.
5 6 7 |
# File 'lib/api_proxy/config.rb', line 5 def request_starts_with @request_starts_with end |