Class: GetAccept::Template
- Defined in:
- lib/get_accept/resources/template.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from GetAccept::Resource
Instance Method Details
#all ⇒ Object
3 4 5 |
# File 'lib/get_accept/resources/template.rb', line 3 def all get('/templates') end |
#edit_url(id) ⇒ Object
7 8 9 |
# File 'lib/get_accept/resources/template.rb', line 7 def edit_url id "https://app.getaccept.com/template/edit/#{id}" end |