Class: Rubyhorn::MatterhornClient

Inherits:
Object
  • Object
show all
Includes:
RestClient::Common, RestClient::Info, RestClient::Ingest, RestClient::Workflow
Defined in:
lib/rubyhorn/matterhorn_client.rb

Instance Attribute Summary collapse

Attributes included from RestClient::Common

#cookie, #http

Instance Method Summary collapse

Methods included from RestClient::Workflow

#handlers, #instance_json, #instance_xml, #statistics_json, #statistics_xml

Methods included from RestClient::Ingest

#addMediaPackage

Methods included from RestClient::Info

#components, #me

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 options = {}
  @config = options
  connect
end

Instance Attribute Details

#configObject (readonly)

repository configuration (see #initialize)



14
15
16
# File 'lib/rubyhorn/matterhorn_client.rb', line 14

def config
  @config
end