Class: Ebay::Requests::Abstract
- 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 :warning_level, 'WarningLevel', :optional => true
object_node :bot_block, 'BotBlock', :class => BotBlockRequest, :optional => true
Direct Known Subclasses
AddDispute, AddDisputeResponse, AddItem, AddLiveAuctionItem, AddMemberMessageAAQToPartner, AddMemberMessageRTQ, AddMemberMessagesAAQToBidder, AddOrder, AddSecondChanceItem, AddToItemDescription, AddToWatchList, AddTransactionConfirmationItem, ApproveLiveAuctionBidders, CompleteSale, DeleteMyMessages, EndItem, FetchToken, GetAccount, GetAdFormatLeads, GetAllBidders, GetApiAccessRules, GetAttributesCS, GetAttributesXSL, GetBestOffers, GetBidderList, GetCart, GetCategories, GetCategory2CS, GetCategoryFeatures, GetCategoryListings, GetCategoryMappings, GetCategorySpecifics, GetChallengeToken, GetCharities, GetContextualKeywords, GetCrossPromotions, GetDescriptionTemplates, GetDispute, GetFeedback, GetHighBidders, GetItem, GetItemRecommendations, GetItemShipping, GetItemTransactions, GetItemsAwaitingFeedback, GetLiveAuctionBidders, GetLiveAuctionCatalogDetails, GetMemberMessages, GetMessagePreferences, GetMyMessages, GetMyeBayBuying, GetMyeBayReminders, GetMyeBaySelling, GetNotificationPreferences, GetNotificationsUsage, GetOrderTransactions, GetOrders, GetPictureManagerDetails, GetPictureManagerOptions, GetPopularKeywords, GetProductFamilyMembers, GetProductFinder, GetProductFinderXSL, GetProductSearchPage, GetProductSearchResults, GetProductSellingPages, GetProducts, GetPromotionRules, GetPromotionalSaleDetails, GetReturnURL, GetRuName, GetSearchResults, GetSearchResultsExpress, GetSellerEvents, GetSellerList, GetSellerPayments, GetSellerTransactions, GetShippingDiscountProfiles, GetStore, GetStoreCategoryUpdateStatus, GetStoreCustomPage, GetStoreOptions, GetStorePreferences, GetSuggestedCategories, GetTaxTable, GetUser, GetUserContactDetails, GetUserDisputes, GetUserPreferences, GetVeROReasonCodeDetails, GetVeROReportStatus, GetWantItNowPost, GetWantItNowSearchResults, GeteBayDetails, GeteBayOfficialTime, IssueRefund, LeaveFeedback, PlaceOffer, RelistItem, RemoveFromWatchList, RespondToBestOffer, RespondToFeedback, RespondToWantItNowPost, ReviseCheckoutStatus, ReviseItem, ReviseLiveAuctionItem, ReviseMyMessages, ReviseMyMessagesFolders, SellerReverseDispute, SendInvoice, SetCart, SetMessagePreferences, SetNotificationPreferences, SetPictureManagerDetails, SetPromotionalSale, SetPromotionalSaleListings, SetReturnURL, SetShippingDiscountProfiles, SetStore, SetStoreCategories, SetStoreCustomPage, SetStorePreferences, SetTaxTable, SetUserNotes, SetUserPreferences, UploadSiteHostedPictures, ValidateChallengeInput, ValidateTestUserRegistration, VeROReportItems, VerifyAddItem, VerifyAddSecondChanceItem
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#detail_level ⇒ Object
eBay specifies the detail level as a collection.
-
#detail_level=(value) ⇒ Object
Overwrites the details_levels Array with a new Array containing only the value passed in as an argument.
Methods included from Initializer
#initialize, #object_attributes=
Methods inherited from Base
#call_name, #requester_credentials
Methods included from Types
Instance Method Details
#detail_level ⇒ Object
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.
35 36 37 |
# File 'lib/ebay/requests/abstract.rb', line 35 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
41 42 43 |
# File 'lib/ebay/requests/abstract.rb', line 41 def detail_level=(value) @detail_levels = Array(value) end |