Module: Ecfr

Defined in:
lib/ecfr.rb,
lib/ecfr/base.rb,
lib/ecfr/client.rb,
lib/ecfr/version.rb,
lib/ecfr/constants.rb,
lib/ecfr/extensible.rb,
lib/ecfr/configuration.rb,
lib/ecfr/parallel_client.rb,
lib/ecfr/attribute_caster.rb,
lib/ecfr/common/hierarchy.rb,
lib/ecfr/diff_service/base.rb,
lib/ecfr/admin_service/base.rb,
lib/ecfr/admin_service/build.rb,
lib/ecfr/admin_service/issue.rb,
lib/ecfr/diff_service/status.rb,
lib/ecfr/search_service/base.rb,
lib/ecfr/admin_service/agency.rb,
lib/ecfr/admin_service/status.rb,
lib/ecfr/default_status_setup.rb,
lib/ecfr/renderer_service/base.rb,
lib/ecfr/renderer_service/diff.rb,
lib/ecfr/search_service/status.rb,
lib/ecfr/prince_xml_service/pdf.rb,
lib/ecfr/request_representation.rb,
lib/ecfr/versioner_service/base.rb,
lib/ecfr/prince_xml_service/base.rb,
lib/ecfr/renderer_service/origin.rb,
lib/ecfr/renderer_service/status.rb,
lib/ecfr/versioner_service/title.rb,
lib/ecfr/ofr_profile_service/base.rb,
lib/ecfr/renderer_service/content.rb,
lib/ecfr/versioner_service/status.rb,
lib/ecfr/search_service/date_facet.rb,
lib/ecfr/search_service/facet_base.rb,
lib/ecfr/admin_service/issue/change.rb,
lib/ecfr/ofr_profile_service/status.rb,
lib/ecfr/search_service/title_facet.rb,
lib/ecfr/subscriptions_service/base.rb,
lib/ecfr/varnish_cache_service/base.rb,
lib/ecfr/admin_service/ibr_cfr_range.rb,
lib/ecfr/attribute_method_definition.rb,
lib/ecfr/default_documentation_setup.rb,
lib/ecfr/versioner_service/ancestors.rb,
lib/ecfr/versioner_service/structure.rb,
lib/ecfr/admin_service/editorial_note.rb,
lib/ecfr/subscriptions_service/status.rb,
lib/ecfr/admin_service/ecfr_correction.rb,
lib/ecfr/versioner_service/xml_content.rb,
lib/ecfr/search_service/content_version.rb,
lib/ecfr/admin_service/api_documentation.rb,
lib/ecfr/admin_service/site_notification.rb,
lib/ecfr/versioner_service/issue_package.rb,
lib/ecfr/search_service/api_documentation.rb,
lib/ecfr/facet_attribute_method_definition.rb,
lib/ecfr/subscriptions_service/subscription.rb,
lib/ecfr/admin_service/ibr_cfr_range/address.rb,
lib/ecfr/versioner_service/api_documentation.rb,
lib/ecfr/search_service/content_version/count.rb,
lib/ecfr/search_service/content_version/result.rb,
lib/ecfr/admin_service/editorial_note/hierarchy.rb,
lib/ecfr/search_service/content_version/summary.rb,
lib/ecfr/admin_service/ibr_cfr_range/organization.rb,
lib/ecfr/versioner_service/ancestors/node_summary.rb,
lib/ecfr/search_service/content_version/suggestion.rb,
lib/ecfr/admin_service/ecfr_correction/cfr_reference.rb,
lib/ecfr/versioner_service/issue_package/issue_volume.rb,
lib/ecfr/versioner_service/issue_package/title_version.rb,
lib/ecfr/versioner_service/ancestors/metadata_node_info.rb,
lib/ecfr/versioner_service/issue_package/sha_comparison.rb,
lib/ecfr/search_service/content_version/hierarchical_count.rb,
lib/ecfr/search_service/content_version/hierarchichal_result.rb,
lib/ecfr/search_service/content_version/hierarchical_count_node.rb

Defined Under Namespace

Modules: AdminService, AttributeMethodDefinition, Common, Constants, DefaultDocumentationSetup, DefaultStatusSetup, DiffService, Extensible, FacetAttributeMethodDefinition, OfrProfileService, ParallelClient, PrinceXmlService, RendererService, SearchService, SubscriptionsService, VarnishCacheService, VersionerService Classes: AttributeCaster, Base, Client, Configuration, RequestRepresentation

Constant Summary collapse

VERSION =
"1.1.3"

Class Method Summary collapse

Class Method Details

.configObject



41
42
43
# File 'lib/ecfr.rb', line 41

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

.configure {|config| ... } ⇒ Object

Yields:



45
46
47
48
# File 'lib/ecfr.rb', line 45

def self.configure
  yield(config)
  config.validate!
end

.servicesObject



50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'lib/ecfr.rb', line 50

def self.services
  [
    Ecfr::AdminService,
    Ecfr::DiffService,
    Ecfr::OfrProfileService,
    Ecfr::PrinceXmlService,
    Ecfr::RendererService,
    Ecfr::SearchService,
    Ecfr::SubscriptionsService,
    Ecfr::VarnishCacheService,
    Ecfr::VersionerService
  ]
end