Module: UniversalID::Extensions::GlobalIDUIDExtension
- Extended by:
- Forwardable
- Included in:
- URI::UID
- Defined in:
- lib/universalid/extensions/global_id/global_id_uid_extension.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
-
#to_global_id_model ⇒ Object
Returns a UniversalID::Extensions::GlobalIDModel instance which implements the GlobalID::Identification interface/protocol.
Class Method Details
.included(mixer) ⇒ Object
11 12 13 |
# File 'lib/universalid/extensions/global_id/global_id_uid_extension.rb', line 11 def self.included(mixer) mixer.extend ClassMethods end |
Instance Method Details
#to_global_id_model ⇒ Object
Returns a UniversalID::Extensions::GlobalIDModel instance which implements the GlobalID::Identification interface/protocol
20 21 22 |
# File 'lib/universalid/extensions/global_id/global_id_uid_extension.rb', line 20 def to_global_id_model UniversalID::Extensions::GlobalIDModel.new self end |