Class: Scimitar::Supportable

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model
Defined in:
app/models/scimitar/supportable.rb

Direct Known Subclasses

Bulk, Filter

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#supportedObject

Returns the value of attribute supported.



4
5
6
# File 'app/models/scimitar/supportable.rb', line 4

def supported
  @supported
end

Class Method Details

.supportedObject



6
7
8
# File 'app/models/scimitar/supportable.rb', line 6

def self.supported
  new(supported: true)
end

.unsupportedObject



10
11
12
# File 'app/models/scimitar/supportable.rb', line 10

def self.unsupported
  new(supported: false)
end