Class: Avo::Licensing::NullLicense
- Defined in:
- lib/avo/licensing/null_license.rb
Instance Attribute Summary
Attributes inherited from License
#id, #payload, #response, #valid
Instance Method Summary collapse
-
#initialize(response = nil) ⇒ NullLicense
constructor
A new instance of NullLicense.
Methods inherited from License
#abilities, #can, #cant, #error, #has_with_trial, #invalid?, #lacks_with_trial, #name, #pro?, #properties, #valid?
Constructor Details
#initialize(response = nil) ⇒ NullLicense
Returns a new instance of NullLicense.
4 5 6 7 8 9 10 11 |
# File 'lib/avo/licensing/null_license.rb', line 4 def initialize(response = nil) response ||= { id: "community", valid: true } super(response) end |