Module: DPN::Client
- Defined in:
- lib/dpn/client.rb,
lib/dpn/client/agent.rb,
lib/dpn/client/version.rb,
lib/dpn/client/response.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
Constant Summary collapse
- VERSION =
"2.0.1"
Class Method Summary collapse
-
.api_version ⇒ Object
Get the api version, based on the major version of this library.
- .client(options = {}) ⇒ Object
- .time_format ⇒ Object
Class Method Details
.api_version ⇒ Object
Get the api version, based on the major version of this library.
14 15 16 |
# File 'lib/dpn/client.rb', line 14 def self.api_version DPN::Client::VERSION.split(".")[0] end |
.client(options = {}) ⇒ Object
24 25 26 |
# File 'lib/dpn/client.rb', line 24 def self.client( = {}) return ::DPN::Client::Agent.new end |
.time_format ⇒ Object
19 20 21 |
# File 'lib/dpn/client.rb', line 19 def self.time_format "%Y-%m-%dT%H:%M:%SZ" end |