Class: Ebay::Requests::Base

Inherits:
Object
  • Object
show all
Includes:
Types
Defined in:
lib/ebay/request/base.rb

Direct Known Subclasses

Abstract

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Types

#type

Instance Attribute Details

#auth_tokenObject

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_nameObject



9
10
11
# File 'lib/ebay/request/base.rb', line 9

def call_name
  self.class.to_s.split('::').last.gsub(/Request$/, '')
end

#requester_credentialsObject



13
14
15
# File 'lib/ebay/request/base.rb', line 13

def requester_credentials
  @requester_credentials ||= XMLRequesterCredentials.new(:ebay_auth_token => auth_token)
end