Class: PRX::Model::Producer

Inherits:
Base
  • Object
show all
Includes:
Representer::Full::ProducerRepresenter, Roar::JSON
Defined in:
lib/prx/model/producer.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#id

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

#emailObject

Returns the value of attribute email.



11
12
13
# File 'lib/prx/model/producer.rb', line 11

def email
  @email
end

#nameObject

Returns the value of attribute name.



11
12
13
# File 'lib/prx/model/producer.rb', line 11

def name
  @name
end

#userObject

Returns the value of attribute user.



11
12
13
# File 'lib/prx/model/producer.rb', line 11

def user
  @user
end