Class: PRX::Model::License
- Includes:
- Representer::Full::LicenseRepresenter, Roar::JSON
- Defined in:
- lib/prx/model/license.rb
Constant Summary collapse
- WEBSITE_USAGE =
['as a free MP3 download and stream', 'as a stream only', 'only with permission']
- ALLOW_EDIT =
['only with permission', 'without further permission', 'never']
Instance Attribute Summary collapse
-
#additional_terms ⇒ Object
Returns the value of attribute additional_terms.
-
#allow_edit ⇒ Object
Returns the value of attribute allow_edit.
-
#website_usage ⇒ Object
Returns the value of attribute website_usage.
Attributes inherited from Base
Method Summary
Methods inherited from Base
#class_path_part, #find_by_id, #initialize, #request, request, #save
Constructor Details
This class inherits a constructor from PRX::Model::Base
Instance Attribute Details
#additional_terms ⇒ Object
Returns the value of attribute additional_terms.
11 12 13 |
# File 'lib/prx/model/license.rb', line 11 def additional_terms @additional_terms end |
#allow_edit ⇒ Object
Returns the value of attribute allow_edit.
11 12 13 |
# File 'lib/prx/model/license.rb', line 11 def allow_edit @allow_edit end |
#website_usage ⇒ Object
Returns the value of attribute website_usage.
11 12 13 |
# File 'lib/prx/model/license.rb', line 11 def website_usage @website_usage end |