Class: MarketingConnection::Base
- Inherits:
-
Object
- Object
- MarketingConnection::Base
- Defined in:
- lib/marketing_connection.rb
Instance Method Summary collapse
- #deliveries ⇒ Object
- #guns ⇒ Object
-
#initialize(opts = {}) ⇒ Base
constructor
A new instance of Base.
- #lists ⇒ Object
- #templates ⇒ Object
Constructor Details
#initialize(opts = {}) ⇒ Base
Returns a new instance of Base.
12 13 14 |
# File 'lib/marketing_connection.rb', line 12 def initialize(opts = {}) puts opts.inspect end |
Instance Method Details
#deliveries ⇒ Object
20 21 22 |
# File 'lib/marketing_connection.rb', line 20 def deliveries MarketingConnection::Delivery.new end |
#guns ⇒ Object
28 29 30 |
# File 'lib/marketing_connection.rb', line 28 def guns MarketingConnection::Gun.new(self) end |
#lists ⇒ Object
16 17 18 |
# File 'lib/marketing_connection.rb', line 16 def lists MarketingConnection::List.new(self) end |
#templates ⇒ Object
24 25 26 |
# File 'lib/marketing_connection.rb', line 24 def templates MarketingConnection::Template.new(self) end |