Class: MarketingConnection::Gun
- Inherits:
-
Object
- Object
- MarketingConnection::Gun
- Defined in:
- lib/marketing_connection/gun.rb
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Gun
constructor
A new instance of Gun.
- #list(opts = {}) ⇒ Object
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 |