Class: Ebay::Requests::Base
- Inherits:
-
Object
- Object
- Ebay::Requests::Base
- Includes:
- Types
- Defined in:
- lib/ebay/request/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#auth_token ⇒ Object
Returns the value of attribute auth_token.
Instance Method Summary collapse
Methods included from Types
Instance Attribute Details
#auth_token ⇒ Object
Returns the value of attribute auth_token.
7 8 9 |
# File 'lib/ebay/request/base.rb', line 7 def auth_token @auth_token end |
Instance Method Details
#call_name ⇒ Object
9 10 11 |
# File 'lib/ebay/request/base.rb', line 9 def call_name self.class.to_s.split('::').last.gsub(/Request$/, '') end |
#requester_credentials ⇒ Object
13 14 15 |
# File 'lib/ebay/request/base.rb', line 13 def requester_credentials @requester_credentials ||= XMLRequesterCredentials.new(:ebay_auth_token => auth_token) end |