Class: DPN::Client::Agent

Inherits:
Object
  • Object
show all
Includes:
Bag, Configuration, Connection, Digest, FixityCheck, Ingest, Member, Node, Replicate, Restore
Defined in:
lib/dpn/client/agent.rb,
lib/dpn/client/agent/bag.rb,
lib/dpn/client/agent/node.rb,
lib/dpn/client/agent/digest.rb,
lib/dpn/client/agent/ingest.rb,
lib/dpn/client/agent/member.rb,
lib/dpn/client/agent/restore.rb,
lib/dpn/client/agent/replicate.rb,
lib/dpn/client/agent/connection.rb,
lib/dpn/client/agent/fixity_check.rb,
lib/dpn/client/agent/configuration.rb

Defined Under Namespace

Modules: Bag, Configuration, Connection, Digest, FixityCheck, Ingest, Member, Node, Replicate, Restore

Instance Attribute Summary

Attributes included from Configuration

#api_root, #auth_token, #logger, #per_page, #user_agent

Instance Method Summary collapse

Methods included from Restore

#create_restore, #restore, #restores, #update_restore

Methods included from Replicate

#create_replication, #replicate, #replication, #replications, #update_replication

Methods included from Node

#node, #update_node

Methods included from Member

#create_member, #delete_member, #member, #member_bags, #members, #update_member

Methods included from Ingest

#create_ingest, #ingests

Methods included from FixityCheck

#create_fixity_check, #fixity_checks

Methods included from Digest

#bag_digests, #create_digest, #digest, #digests

Methods included from Bag

#bag, #bags, #create_bag, #delete_bag, #update_bag

Methods included from Connection

#delete, #get, #paginate, #paginate_each, #post, #put

Methods included from Configuration

#api_ver, #base_url, #configure, #reset

Constructor Details

#initialize(options = {}) ⇒ Agent

Returns a new instance of Agent.



32
33
34
# File 'lib/dpn/client/agent.rb', line 32

def initialize(options = {})
  self.configure(options)
end