Module: ActiveEncode::GlobalID
- Extended by:
- ActiveSupport::Concern
- Includes:
- GlobalID::Identification
- Included in:
- Base
- Defined in:
- lib/active_encode/global_id.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
8 9 10 |
# File 'lib/active_encode/global_id.rb', line 8 def ==(other) other.is_a?(ActiveEncode::Base) && to_global_id == other.to_global_id end |
#to_global_id(options = {}) ⇒ Object
12 13 14 |
# File 'lib/active_encode/global_id.rb', line 12 def to_global_id( = {}) super(app: 'ActiveEncode') end |