Module: Wordpress::Json::Api
- Defined in:
- lib/wordpress/json/api.rb,
lib/wordpress/json/api/client.rb,
lib/wordpress/json/api/version.rb,
lib/wordpress/json/api/configuration.rb
Defined Under Namespace
Classes: Client, Configuration, Error
Constant Summary
collapse
- VERSION =
"0.1.3"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
15
16
17
|
# File 'lib/wordpress/json/api.rb', line 15
def configuration
@configuration ||= ::Wordpress::Json::Api::Configuration.new
end
|
Class Method Details
23
24
25
|
# File 'lib/wordpress/json/api.rb', line 23
def configure
yield(configuration)
end
|
.reset ⇒ Object
19
20
21
|
# File 'lib/wordpress/json/api.rb', line 19
def reset
@configuration = ::Wordpress::Json::Api::Configuration.new
end
|