Module: UriService::Client
- Defined in:
- lib/uri_service/client.rb,
lib/uri_service/client/error.rb,
lib/uri_service/client/version.rb,
lib/uri_service/client/response.rb,
lib/uri_service/client/connection.rb,
lib/uri_service/client/form_fields.rb,
lib/uri_service/client/requests/terms.rb,
lib/uri_service/client/requests/vocabularies.rb,
lib/uri_service/client/requests/custom_fields.rb
Defined Under Namespace
Modules: Requests Classes: ConfigurationError, Connection, Error, FormFields, Response
Constant Summary collapse
- VERSION =
'0.1.0'.freeze
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
7 8 9 |
# File 'lib/uri_service/client.rb', line 7 def api_key @api_key end |
.url ⇒ Object
Returns the value of attribute url.
7 8 9 |
# File 'lib/uri_service/client.rb', line 7 def url @url end |
Class Method Details
.configure {|_self| ... } ⇒ Object
13 14 15 |
# File 'lib/uri_service/client.rb', line 13 def configure yield self end |
.connection(options = {}) ⇒ Object
9 10 11 |
# File 'lib/uri_service/client.rb', line 9 def connection( = {}) UriService::Client::Connection.new() end |
.reset! ⇒ Object
17 18 19 20 |
# File 'lib/uri_service/client.rb', line 17 def reset! @url = nil @api_key = nil end |