Module: Accession

Defined in:
lib/accession/accession.rb,
lib/accession/accession/tag.rb,
lib/accession/accession/sample.rb,
lib/accession/accession/contact.rb,
lib/accession/accession/request.rb,
lib/accession/accession/service.rb,
lib/accession/accession/response.rb,
lib/accession/accession/tag_list.rb,
lib/accession/accession/submission.rb,
lib/accession/accession/accessionable.rb,
lib/accession/accession/configuration.rb,
lib/accession/accession/null_response.rb,
lib/accession/accession/core_extensions.rb

Defined Under Namespace

Modules: Accessionable, CoreExtensions, Equality, Helpers Classes: Configuration, Contact, NullResponse, Request, Response, Sample, Service, Submission, Tag, TagList

Constant Summary collapse

CENTER_NAME =
'SC'
XML_NAMESPACE =
{ 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance' }

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject


67
68
69
# File 'lib/accession/accession.rb', line 67

def self.configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:


71
72
73
# File 'lib/accession/accession.rb', line 71

def self.configure
  yield(configuration)
end

.reset!Object


75
76
77
# File 'lib/accession/accession.rb', line 75

def self.reset!
  @configuration = Configuration.new
end