module PactBroker::Api::Decorators::Timestamps
Public Instance Methods
optional_updated_at()
click to toggle source
# File lib/pact_broker/api/decorators/timestamps.rb, line 13 def optional_updated_at if represented.respond_to?(:updated_at) && represented.updated_at != represented.created_at FormatDateTime.call(represented.updated_at) end end