Class: PRX::Model::Producer
- Includes:
- Representer::Full::ProducerRepresenter, Roar::Representer::JSON
- Defined in:
- lib/prx/model/producer.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
-
#user ⇒ Object
Returns the value of attribute user.
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
#email ⇒ Object
Returns the value of attribute email.
12 13 14 |
# File 'lib/prx/model/producer.rb', line 12 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/prx/model/producer.rb', line 12 def name @name end |
#user ⇒ Object
Returns the value of attribute user.
12 13 14 |
# File 'lib/prx/model/producer.rb', line 12 def user @user end |