Class: WpApi::Configuration
- Inherits:
-
Object
- Object
- WpApi::Configuration
- Defined in:
- lib/wp_api/configuration.rb
Instance Attribute Summary collapse
-
#base_uri ⇒ Object
Returns the value of attribute base_uri.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/wp_api/configuration.rb', line 6 def initialize @base_uri = nil @options = {} end |
Instance Attribute Details
#base_uri ⇒ Object
Returns the value of attribute base_uri.
3 4 5 |
# File 'lib/wp_api/configuration.rb', line 3 def base_uri @base_uri end |
#options ⇒ Object
Returns the value of attribute options.
4 5 6 |
# File 'lib/wp_api/configuration.rb', line 4 def @options end |