class MarketingConnection::Template

Public Class Methods

new(opts = {}) click to toggle source
# File lib/marketing_connection/template.rb, line 3
def initialize(opts = {})
end

Public Instance Methods

create() click to toggle source
# File lib/marketing_connection/template.rb, line 6
def create
end
find(template_id) click to toggle source
# File lib/marketing_connection/template.rb, line 13
def find(template_id)
  MarketingConnection.submit(:get, "#{template_url}/#{template_id}")
end
list(opts = {}) click to toggle source
# File lib/marketing_connection/template.rb, line 9
def list(opts = {})
  MarketingConnection.submit(:get, template_url, opts)
end
update() click to toggle source
# File lib/marketing_connection/template.rb, line 17
def update
end

Private Instance Methods

template_url() click to toggle source
# File lib/marketing_connection/template.rb, line 21
def template_url
  "templates"
end