Class: MarketingConnection::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/marketing_connection.rb

Instance Method Summary collapse

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

#deliveriesObject



20
21
22
# File 'lib/marketing_connection.rb', line 20

def deliveries
  MarketingConnection::Delivery.new
end

#gunsObject



28
29
30
# File 'lib/marketing_connection.rb', line 28

def guns
  MarketingConnection::Gun.new(self)
end

#listsObject



16
17
18
# File 'lib/marketing_connection.rb', line 16

def lists
  MarketingConnection::List.new(self)
end

#templatesObject



24
25
26
# File 'lib/marketing_connection.rb', line 24

def templates
  MarketingConnection::Template.new(self)
end