Class: Ebay::Connection
- Inherits:
-
Object
- Object
- Ebay::Connection
- Defined in:
- lib/ebay/request/connection.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(site) ⇒ Connection
constructor
A new instance of Connection.
- #post(path, body, headers) ⇒ Object
Constructor Details
#initialize(site) ⇒ Connection
Returns a new instance of Connection.
30 31 32 |
# File 'lib/ebay/request/connection.rb', line 30 def initialize(site) @site = site end |
Instance Method Details
#post(path, body, headers) ⇒ Object
34 35 36 |
# File 'lib/ebay/request/connection.rb', line 34 def post(path, body, headers) request(:post, path, body, headers) end |