Class: Rubyhorn::MatterhornClient
- Inherits:
-
Object
- Object
- Rubyhorn::MatterhornClient
- Defined in:
- lib/rubyhorn/matterhorn_client.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
repository configuration (see #initialize).
Attributes included from RestClient::Common
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ MatterhornClient
constructor
A new instance of MatterhornClient.
Methods included from RestClient::Workflow
#handlers, #instance_json, #instance_xml, #statistics_json, #statistics_xml
Methods included from RestClient::Ingest
Methods included from RestClient::Info
Methods included from RestClient::Common
#connect, #execute_request, #get, #login, #multipart_post, #post
Constructor Details
#initialize(options = {}) ⇒ MatterhornClient
Returns a new instance of MatterhornClient.
16 17 18 19 |
# File 'lib/rubyhorn/matterhorn_client.rb', line 16 def initialize = {} @config = connect end |
Instance Attribute Details
#config ⇒ Object (readonly)
repository configuration (see #initialize)
14 15 16 |
# File 'lib/rubyhorn/matterhorn_client.rb', line 14 def config @config end |