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.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
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 |
#password ⇒ Object
Returns the value of attribute password.
7 8 9 |
# File 'lib/ebay/request/base.rb', line 7 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
7 8 9 |
# File 'lib/ebay/request/base.rb', line 7 def username @username 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 XMLRequesterCredentials.new(:ebay_auth_token => auth_token) end |