lib/ledger_sync/domains/operation.rb in ledger_sync-domains-1.0.0.rc1 vs lib/ledger_sync/domains/operation.rb in ledger_sync-domains-1.0.0.rc2
- old
+ new
@@ -39,10 +39,10 @@
def inferred_deserializer_class
const_get("#{inferred_resource_class}Deserializer")
end
def inferred_validation_contract_class
- const_get("#{self}::Contract")
+ const_get('Contract')
end
end
def self.included(base)
base.include SimplySerializable::Mixin