Sha256: 4f64269bcfae97114d030abf3b459f9c3990480b0872a0c4145f9fdc77ee5e01

Contents?: true

Size: 345 Bytes

Versions: 7

Compression:

Stored size: 345 Bytes

Contents

module Agilibox::TapMethods
  extend ActiveSupport::Concern

  def tap_save!(options = {})
    save!(options)
    self
  end

  def tap_update!(attributes)
    update!(attributes)
    self
  end

  def tap_validate(context = nil)
    validate(context)
    self
  end

  def tap_validate!(context = nil)
    validate!(context)
    self
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
agilibox-1.7.3 app/models/concerns/agilibox/tap_methods.rb
agilibox-1.7.2 app/models/concerns/agilibox/tap_methods.rb
agilibox-1.7.1 app/models/concerns/agilibox/tap_methods.rb
agilibox-1.7.0 app/models/concerns/agilibox/tap_methods.rb
agilibox-1.6.2 app/models/concerns/agilibox/tap_methods.rb
agilibox-1.6.1 app/models/concerns/agilibox/tap_methods.rb
agilibox-1.6.0 app/models/concerns/agilibox/tap_methods.rb