Class: MarketingConnection::Template
- Inherits:
-
Object
- Object
- MarketingConnection::Template
- Defined in:
- lib/marketing_connection/template.rb
Instance Method Summary collapse
- #create ⇒ Object
- #find(template_id) ⇒ Object
-
#initialize(opts = {}) ⇒ Template
constructor
A new instance of Template.
- #list(opts = {}) ⇒ Object
- #update ⇒ Object
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
#create ⇒ Object
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 |
#update ⇒ Object
17 18 |
# File 'lib/marketing_connection/template.rb', line 17 def update end |