Class: MarketingConnection::Template

Inherits:
Object
  • Object
show all
Defined in:
lib/marketing_connection/template.rb

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ Template

Returns a new instance of Template.



3
4
# File 'lib/marketing_connection/template.rb', line 3

def initialize(opts = {})
end

Instance Method Details

#createObject



6
7
# File 'lib/marketing_connection/template.rb', line 6

def create
end

#find(template_id) ⇒ Object



13
14
15
# File 'lib/marketing_connection/template.rb', line 13

def find(template_id)
  MarketingConnection.submit(:get, "#{template_url}/#{template_id}")
end

#list(opts = {}) ⇒ Object



9
10
11
# File 'lib/marketing_connection/template.rb', line 9

def list(opts = {})
  MarketingConnection.submit(:get, template_url, opts)
end

#updateObject



17
18
# File 'lib/marketing_connection/template.rb', line 17

def update
end