Module: GlobalRegistry
- Defined in:
- lib/global_registry/exceptions.rb,
lib/global_registry.rb,
lib/global_registry/base.rb,
lib/global_registry/entity.rb,
lib/global_registry/system.rb,
lib/global_registry/version.rb,
lib/global_registry/enum_value.rb,
lib/global_registry/entity_type.rb,
lib/global_registry/measurement.rb,
lib/global_registry/relationship.rb,
lib/global_registry/subscription.rb,
lib/global_registry/measurement_type.rb,
lib/global_registry/relationship_type.rb
Overview
:nodoc:
Defined Under Namespace
Classes: BadRequest, Base, Entity, EntityType, EnumValue, InternalServerError, Measurement, MeasurementType, OtherError, Relationship, RelationshipType, ResourceNotFound, Subscription, System
Constant Summary collapse
- VERSION =
"1.7.1"- EXCEPTIONS =
[BadRequest, ResourceNotFound, InternalServerError, OtherError].freeze
Class Attribute Summary collapse
-
.access_token ⇒ Object
Returns the value of attribute access_token.
- .base_url ⇒ Object
Class Method Summary collapse
Class Attribute Details
.access_token ⇒ Object
Returns the value of attribute access_token.
11 12 13 |
# File 'lib/global_registry.rb', line 11 def access_token @access_token end |
.base_url ⇒ Object
18 19 20 |
# File 'lib/global_registry.rb', line 18 def base_url @base_url ||= "https://api.global-registry.org/" end |
Class Method Details
.configure {|_self| ... } ⇒ Object
14 15 16 |
# File 'lib/global_registry.rb', line 14 def configure yield self end |