Class: LiquidPlanner::Resources::Note

Inherits:
Luggage show all
Defined in:
lib/liquidplanner/resources/note.rb

Class Method Summary collapse

Methods inherited from LiquidPlannerResource

#get_raw, #load

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class LiquidPlanner::LiquidPlannerResource

Class Method Details

.element_path(id, prefix_options = {}, query_options = nil) ⇒ Object



12
13
14
15
16
# File 'lib/liquidplanner/resources/note.rb', line 12

def self.element_path(id, prefix_options = {}, query_options = nil)
  path = super(id, prefix_options, query_options)
  path.sub!( "/#{id}.#{format.extension}", "" )
  path
end