Class: Sfn::Reply
- Inherits:
-
Resource
- Object
- HasSatisfaction
- Resource
- Sfn::Reply
- Defined in:
- lib/satisfaction/reply.rb
Instance Attribute Summary
Attributes inherited from Resource
Attributes inherited from HasSatisfaction
Instance Method Summary collapse
Methods inherited from Resource
decode_sfn, #delete, #initialize, #inspect, #load, #loaded?, #put, #was_loaded
Methods included from Util
Methods included from Sfn::Resource::Attributes
Methods included from Associations
Methods inherited from HasSatisfaction
Constructor Details
This class inherits a constructor from Sfn::Resource
Instance Method Details
#path ⇒ Object
6 7 8 |
# File 'lib/satisfaction/reply.rb', line 6 def path "/replies/#{id}" end |
#setup_associations ⇒ Object
10 11 12 |
# File 'lib/satisfaction/reply.rb', line 10 def setup_associations belongs_to :topic end |