Class: StreamSend::Audience

Inherits:
Resource show all
Defined in:
lib/streamsend.rb

Class Method Summary collapse

Methods inherited from Resource

#attributes, #errors, #errors=, find, #id, #initialize, #method_missing, #new_record?, resource_name, #save, #to_xml, to_xml

Constructor Details

This class inherits a constructor from StreamSend::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class StreamSend::Resource

Class Method Details

.resource_path(options = {}) ⇒ Object



121
122
123
# File 'lib/streamsend.rb', line 121

def self.resource_path(options={})
  "/audiences/#{options["id"]}.xml"
end