Class: MarketingConnection::Gun

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

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ Gun

Returns a new instance of Gun.



3
4
# File 'lib/marketing_connection/gun.rb', line 3

def initialize(opts = {})
end

Instance Method Details

#list(opts = {}) ⇒ Object



6
7
8
# File 'lib/marketing_connection/gun.rb', line 6

def list(opts = {})
  MarketingConnection.submit(:get, gun_url, opts)
end