Class: MarketingConnection::Delivery
- Inherits:
-
Object
- Object
- MarketingConnection::Delivery
- Defined in:
- lib/marketing_connection/delivery.rb
Instance Method Summary collapse
- #create(params = {}) ⇒ Object
-
#list(opts = {}) ⇒ Object
def initailize(opts = {}).
Instance Method Details
#create(params = {}) ⇒ Object
12 13 14 |
# File 'lib/marketing_connection/delivery.rb', line 12 def create(params = {}) MarketingConnection.submit(:post, delivery_url, params) end |
#list(opts = {}) ⇒ Object
def initailize(opts = {})
end
8 9 10 |
# File 'lib/marketing_connection/delivery.rb', line 8 def list(opts = {}) MarketingConnection.submit(:get, delivery_url, opts) end |