Sha256: 37677f2c45d596b29c7e66771e9c2835f07018de1221c832a938a21bede1d03b

Contents?: true

Size: 227 Bytes

Versions: 45

Compression:

Stored size: 227 Bytes

Contents

module Scimitar
  class Supportable
    include ActiveModel::Model
    attr_accessor :supported

    def self.supported
      new(supported: true)
    end

    def self.unsupported
      new(supported: false)
    end
  end
end

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
scimitar-1.11.0 app/models/scimitar/supportable.rb
scimitar-2.10.0 app/models/scimitar/supportable.rb
scimitar-1.10.0 app/models/scimitar/supportable.rb
scimitar-2.9.0 app/models/scimitar/supportable.rb
scimitar-2.8.0 app/models/scimitar/supportable.rb
scimitar-2.7.3 app/models/scimitar/supportable.rb
powerhome-scimitar-1.0.0 app/models/scimitar/supportable.rb
scimitar-2.7.2 app/models/scimitar/supportable.rb
scimitar-1.8.2 app/models/scimitar/supportable.rb
scimitar-1.8.1 app/models/scimitar/supportable.rb
scimitar-2.7.1 app/models/scimitar/supportable.rb
scimitar-1.8.0 app/models/scimitar/supportable.rb
scimitar-2.7.0 app/models/scimitar/supportable.rb
scimitar-1.7.1 app/models/scimitar/supportable.rb
scimitar-2.6.1 app/models/scimitar/supportable.rb
scimitar-1.7.0 app/models/scimitar/supportable.rb
scimitar-2.6.0 app/models/scimitar/supportable.rb
scimitar-1.6.0 app/models/scimitar/supportable.rb
scimitar-2.5.0 app/models/scimitar/supportable.rb
scimitar-2.4.3 app/models/scimitar/supportable.rb