Class: Ebay::Requests::Abstract

Inherits:
Base
  • Object
show all
Includes:
Initializer, XML::Mapping
Defined in:
lib/ebay/requests/abstract.rb

Overview

Attributes

value_array_node :detail_levels, 'DetailLevel', :default_value => []
text_node :error_language, 'ErrorLanguage', :optional => true
text_node :message_id, 'MessageID', :optional => true
text_node :version, 'Version', :optional => true
text_node :end_user_ip, 'EndUserIP', :optional => true
object_node :requester_credentials, 'RequesterCredentials', :class => XMLRequesterCredentials, :optional => true
text_node :error_handling, 'ErrorHandling', :optional => true
text_node :invocation_id, 'InvocationID', :optional => true
text_node :output_selector, 'OutputSelector', :optional => true
text_node :warning_level, 'WarningLevel', :optional => true
object_node :bot_block, 'BotBlock', :class => BotBlockRequest, :optional => true

Direct Known Subclasses

AddDispute, AddDisputeResponse, AddItem, AddItemFromSellingManagerTemplate, AddItems, AddMemberMessageAAQToPartner, AddMemberMessageRTQ, AddMemberMessagesAAQToBidder, AddOrder, AddSecondChanceItem, AddSellingManagerInventoryFolder, AddSellingManagerProduct, AddSellingManagerTemplate, AddToItemDescription, AddToWatchList, AddTransactionConfirmationItem, CompleteSale, ConfirmIdentity, DeleteMyMessages, DeleteSellingManagerInventoryFolder, DeleteSellingManagerItemAutomationRule, DeleteSellingManagerProduct, DeleteSellingManagerTemplate, DeleteSellingManagerTemplateAutomationRule, EndItem, EndItems, FetchToken, GetAccount, GetAdFormatLeads, GetAllBidders, GetApiAccessRules, GetAttributesCS, GetAttributesXSL, GetBestOffers, GetBidderList, GetCategories, GetCategory2CS, GetCategoryFeatures, GetCategoryListings, GetCategoryMappings, GetCategorySpecifics, GetChallengeToken, GetCharities, GetClientAlertsAuthToken, GetContextualKeywords, GetCrossPromotions, GetDescriptionTemplates, GetDispute, GetFeedback, GetHighBidders, GetItem, GetItemRecommendations, GetItemShipping, GetItemTransactions, GetItemsAwaitingFeedback, GetMemberMessages, GetMessagePreferences, GetMyMessages, GetMyeBayBuying, GetMyeBayReminders, GetMyeBaySelling, GetNotificationPreferences, GetNotificationsUsage, GetOrderTransactions, GetOrders, GetPictureManagerDetails, GetPictureManagerOptions, GetPopularKeywords, GetProductFamilyMembers, GetProductFinder, GetProductFinderXSL, GetProductSearchPage, GetProductSearchResults, GetProductSellingPages, GetProducts, GetPromotionRules, GetPromotionalSaleDetails, GetSearchResults, GetSellerDashboard, GetSellerEvents, GetSellerList, GetSellerPayments, GetSellerTransactions, GetSellingManagerAlerts, GetSellingManagerEmailLog, GetSellingManagerInventory, GetSellingManagerInventoryFolder, GetSellingManagerItemAutomationRule, GetSellingManagerSaleRecord, GetSellingManagerSoldListings, GetSellingManagerTemplateAutomationRule, GetSellingManagerTemplates, GetSessionID, GetShippingDiscountProfiles, GetStore, GetStoreCategoryUpdateStatus, GetStoreCustomPage, GetStoreOptions, GetStorePreferences, GetSuggestedCategories, GetTaxTable, GetTokenStatus, GetUser, GetUserContactDetails, GetUserDisputes, GetUserPreferences, GetVeROReasonCodeDetails, GetVeROReportStatus, GetWantItNowPost, GetWantItNowSearchResults, GeteBayDetails, GeteBayOfficialTime, IssueRefund, LeaveFeedback, MoveSellingManagerInventoryFolder, PlaceOffer, RelistItem, RemoveFromWatchList, RespondToBestOffer, RespondToFeedback, RespondToWantItNowPost, ReviseCheckoutStatus, ReviseInventoryStatus, ReviseItem, ReviseMyMessages, ReviseMyMessagesFolders, ReviseSellingManagerInventoryFolder, ReviseSellingManagerProduct, ReviseSellingManagerSaleRecord, ReviseSellingManagerTemplate, RevokeToken, SaveItemToSellingManagerTemplate, SellerReverseDispute, SendInvoice, SetMessagePreferences, SetNotificationPreferences, SetPictureManagerDetails, SetPromotionalSale, SetPromotionalSaleListings, SetSellingManagerFeedbackOptions, SetSellingManagerItemAutomationRule, SetSellingManagerTemplateAutomationRule, SetShippingDiscountProfiles, SetStore, SetStoreCategories, SetStoreCustomPage, SetStorePreferences, SetTaxTable, SetUserNotes, SetUserPreferences, UploadSiteHostedPictures, ValidateChallengeInput, ValidateTestUserRegistration, VeROReportItems, VerifyAddItem, VerifyAddSecondChanceItem

Instance Attribute Summary

Attributes inherited from Base

#auth_token, #password, #username

Instance Method Summary collapse

Methods included from Initializer

#initialize, #object_attributes=

Methods inherited from Base

#call_name, #requester_credentials

Methods included from Types

#type

Instance Method Details

#detail_levelObject

eBay specifies the detail level as a collection. The usual case is to use only a single detail level, so it is more appropriate to add an accessor for the normal case. Reads the first detail level from the detail_levels Array.



37
38
39
# File 'lib/ebay/requests/abstract.rb', line 37

def detail_level
  @detail_levels.first
end

#detail_level=(value) ⇒ Object

Overwrites the details_levels Array with a new Array containing only the value passed in as an argument



43
44
45
# File 'lib/ebay/requests/abstract.rb', line 43

def detail_level=(value)
  @detail_levels = Array(value)
end