Module: Ebay::Initializer

Included in:
Requests::Abstract, Requests::AddDispute, Requests::AddDisputeResponse, Requests::AddItem, Requests::AddLiveAuctionItem, Requests::AddMemberMessageAAQToPartner, Requests::AddMemberMessageRTQ, Requests::AddMemberMessagesAAQToBidder, Requests::AddOrder, Requests::AddSecondChanceItem, Requests::AddToItemDescription, Requests::AddToWatchList, Requests::AddTransactionConfirmationItem, Requests::ApproveLiveAuctionBidders, Requests::CompleteSale, Requests::DeleteMyMessages, Requests::EndItem, Requests::FetchToken, Requests::GetAccount, Requests::GetAdFormatLeads, Requests::GetAllBidders, Requests::GetApiAccessRules, Requests::GetAttributesCS, Requests::GetAttributesXSL, Requests::GetBestOffers, Requests::GetBidderList, Requests::GetCart, Requests::GetCategories, Requests::GetCategory2CS, Requests::GetCategory2FinanceOffer, Requests::GetCategoryFeatures, Requests::GetCategoryListings, Requests::GetCategoryMappings, Requests::GetChallengeToken, Requests::GetCharities, Requests::GetContextualKeywords, Requests::GetCrossPromotions, Requests::GetDescriptionTemplates, Requests::GetDispute, Requests::GetFeedback, Requests::GetFinanceOffers, Requests::GetHighBidders, Requests::GetItem, Requests::GetItemRecommendations, Requests::GetItemShipping, Requests::GetItemTransactions, Requests::GetItemsAwaitingFeedback, Requests::GetLiveAuctionBidders, Requests::GetLiveAuctionCatalogDetails, Requests::GetMemberMessages, Requests::GetMessagePreferences, Requests::GetMyMessages, Requests::GetMyeBayBuying, Requests::GetMyeBayReminders, Requests::GetMyeBaySelling, Requests::GetNotificationPreferences, Requests::GetNotificationsUsage, Requests::GetOrderTransactions, Requests::GetOrders, Requests::GetPictureManagerDetails, Requests::GetPictureManagerOptions, Requests::GetPopularKeywords, Requests::GetProductFamilyMembers, Requests::GetProductFinder, Requests::GetProductFinderXSL, Requests::GetProductSearchPage, Requests::GetProductSearchResults, Requests::GetProductSellingPages, Requests::GetProducts, Requests::GetPromotionRules, Requests::GetPromotionalSaleDetails, Requests::GetReturnURL, Requests::GetRuName, Requests::GetSearchResults, Requests::GetSearchResultsExpress, Requests::GetSellerEvents, Requests::GetSellerList, Requests::GetSellerPayments, Requests::GetSellerTransactions, Requests::GetShippingDiscountProfiles, Requests::GetStore, Requests::GetStoreCategoryUpdateStatus, Requests::GetStoreCustomPage, Requests::GetStoreOptions, Requests::GetStorePreferences, Requests::GetSuggestedCategories, Requests::GetTaxTable, Requests::GetUser, Requests::GetUserContactDetails, Requests::GetUserDisputes, Requests::GetUserPreferences, Requests::GetVeROReasonCodeDetails, Requests::GetVeROReportStatus, Requests::GetWantItNowPost, Requests::GetWantItNowSearchResults, Requests::GeteBayDetails, Requests::GeteBayOfficialTime, Requests::IssueRefund, Requests::LeaveFeedback, Requests::PlaceOffer, Requests::RelistItem, Requests::RemoveFromWatchList, Requests::RespondToBestOffer, Requests::RespondToFeedback, Requests::RespondToWantItNowPost, Requests::ReviseCheckoutStatus, Requests::ReviseItem, Requests::ReviseLiveAuctionItem, Requests::ReviseMyMessages, Requests::ReviseMyMessagesFolders, Requests::SellerReverseDispute, Requests::SendInvoice, Requests::SetCart, Requests::SetMessagePreferences, Requests::SetNotificationPreferences, Requests::SetPictureManagerDetails, Requests::SetPromotionRules, Requests::SetPromotionalSale, Requests::SetPromotionalSaleListings, Requests::SetReturnURL, Requests::SetShippingDiscountProfiles, Requests::SetStore, Requests::SetStoreCategories, Requests::SetStoreCustomPage, Requests::SetStorePreferences, Requests::SetTaxTable, Requests::SetUserNotes, Requests::SetUserPreferences, Requests::ValidateChallengeInput, Requests::ValidateTestUserRegistration, Requests::VeROReportItems, Requests::VerifyAddItem, Requests::VerifyAddSecondChanceItem, Responses::Abstract, Responses::AddDispute, Responses::AddDisputeResponse, Responses::AddItem, Responses::AddLiveAuctionItem, Responses::AddMemberMessageAAQToPartner, Responses::AddMemberMessageRTQ, Responses::AddMemberMessagesAAQToBidder, Responses::AddOrder, Responses::AddSecondChanceItem, Responses::AddToItemDescription, Responses::AddToWatchList, Responses::AddTransactionConfirmationItem, Responses::ApproveLiveAuctionBidders, Responses::CompleteSale, Responses::DeleteMyMessages, Responses::EndItem, Responses::FetchToken, Responses::GetAccount, Responses::GetAdFormatLeads, Responses::GetAllBidders, Responses::GetApiAccessRules, Responses::GetAttributesCS, Responses::GetAttributesXSL, Responses::GetBestOffers, Responses::GetBidderList, Responses::GetCart, Responses::GetCategories, Responses::GetCategory2CS, Responses::GetCategory2FinanceOffer, Responses::GetCategoryFeatures, Responses::GetCategoryListings, Responses::GetCategoryMappings, Responses::GetChallengeToken, Responses::GetCharities, Responses::GetContextualKeywords, Responses::GetCrossPromotions, Responses::GetDescriptionTemplates, Responses::GetDispute, Responses::GetFeedback, Responses::GetFinanceOffers, Responses::GetHighBidders, Responses::GetItem, Responses::GetItemRecommendations, Responses::GetItemShipping, Responses::GetItemTransactions, Responses::GetItemsAwaitingFeedback, Responses::GetLiveAuctionBidders, Responses::GetLiveAuctionCatalogDetails, Responses::GetMemberMessages, Responses::GetMessagePreferences, Responses::GetMyMessages, Responses::GetMyeBayBuying, Responses::GetMyeBayReminders, Responses::GetMyeBaySelling, Responses::GetNotificationPreferences, Responses::GetNotificationsUsage, Responses::GetOrderTransactions, Responses::GetOrders, Responses::GetPictureManagerDetails, Responses::GetPictureManagerOptions, Responses::GetPopularKeywords, Responses::GetProductFamilyMembers, Responses::GetProductFinder, Responses::GetProductFinderXSL, Responses::GetProductSearchPage, Responses::GetProductSearchResults, Responses::GetProductSellingPages, Responses::GetProducts, Responses::GetPromotionRules, Responses::GetPromotionalSaleDetails, Responses::GetReturnURL, Responses::GetRuName, Responses::GetSearchResults, Responses::GetSearchResultsExpress, Responses::GetSellerEvents, Responses::GetSellerList, Responses::GetSellerPayments, Responses::GetSellerTransactions, Responses::GetShippingDiscountProfiles, Responses::GetStore, Responses::GetStoreCategoryUpdateStatus, Responses::GetStoreCustomPage, Responses::GetStoreOptions, Responses::GetStorePreferences, Responses::GetSuggestedCategories, Responses::GetTaxTable, Responses::GetUser, Responses::GetUserContactDetails, Responses::GetUserDisputes, Responses::GetUserPreferences, Responses::GetVeROReasonCodeDetails, Responses::GetVeROReportStatus, Responses::GetWantItNowPost, Responses::GetWantItNowSearchResults, Responses::GeteBayDetails, Responses::GeteBayOfficialTime, Responses::IssueRefund, Responses::LeaveFeedback, Responses::NotificationMessage, Responses::PlaceOffer, Responses::RelistItem, Responses::RemoveFromWatchList, Responses::RespondToBestOffer, Responses::RespondToFeedback, Responses::RespondToWantItNowPost, Responses::ReviseCheckoutStatus, Responses::ReviseItem, Responses::ReviseLiveAuctionItem, Responses::ReviseMyMessages, Responses::ReviseMyMessagesFolders, Responses::SellerReverseDispute, Responses::SendInvoice, Responses::SetCart, Responses::SetMessagePreferences, Responses::SetNotificationPreferences, Responses::SetPictureManagerDetails, Responses::SetPromotionRules, Responses::SetPromotionalSale, Responses::SetPromotionalSaleListings, Responses::SetReturnURL, Responses::SetShippingDiscountProfiles, Responses::SetStore, Responses::SetStoreCategories, Responses::SetStoreCustomPage, Responses::SetStorePreferences, Responses::SetTaxTable, Responses::SetUserNotes, Responses::SetUserPreferences, Responses::ValidateChallengeInput, Responses::ValidateTestUserRegistration, Responses::VeROReportItems, Responses::VerifyAddItem, Responses::VerifyAddSecondChanceItem, Types::ASQPreferences, Types::AccountEntry, Types::AccountSummary, Types::AdFormatEnabledDefinition, Types::AdFormatLead, Types::AddMemberMessagesAAQToBidderRequestContainer, Types::AddMemberMessagesAAQToBidderResponseContainer, Types::AdditionalAccount, Types::Address, Types::AffiliateTrackingDetails, Types::Amount, Types::ApiAccessRule, Types::ApplicationDeliveryPreferences, Types::Attribute, Types::AttributeRecommendations, Types::AttributeSet, Types::AuthenticationEntry, Types::AverageRatingDetailArray, Types::AverageRatingDetails, Types::BasicAmount, Types::BasicUpgradePackEnabledDefinition, Types::BestOffer, Types::BestOfferAutoDeclineEnabledDefinition, Types::BestOfferCounterEnabledDefinition, Types::BestOfferDetails, Types::BestOfferEnabledDefinition, Types::BidApproval, Types::BidApprovalArray, Types::BidderDetail, Types::BidderDetailArray, Types::BidderNoticePreferences, Types::BiddingDetails, Types::BiddingSummary, Types::Buyer, Types::BuyerRequirements, Types::BuyingGuide, Types::BuyingGuideDetails, Types::BuyingSummary, Types::CalculatedHandlingDiscount, Types::CalculatedShippingDiscount, Types::CalculatedShippingPreferences, Types::CalculatedShippingRate, Types::CancelOffer, Types::CancelOfferArray, Types::Cart, Types::CartItem, Types::CatalogProduct, Types::Category, Types::CategoryFeature, Types::CategoryFinanceOffer, Types::CategoryMapping, Types::Characteristic, Types::CharacteristicSetIDs, Types::CharacteristicsSet, Types::Charity, Types::CharityAffiliation, Types::CharityID, Types::CharityInfo, Types::CharitySeller, Types::CheckoutCompleteRedirect, Types::CheckoutOrderDetail, Types::CheckoutStatus, Types::ClassifiedAdAutoDeclineEnabledDefinition, Types::ClassifiedAdBestOfferEnabledDefinition, Types::ClassifiedAdContactByEmailEnabledDefintion, Types::ClassifiedAdContactByPhoneEnabledDefinition, Types::ClassifiedAdCounterOfferEnabledDefinition, Types::ClassifiedAdPaymentMethodEnabledDefinition, Types::ClassifiedAdShippingMethodEnabledDefinition, Types::CombinedPaymentPreferences, Types::ContactHoursDetails, Types::ContextSearchAsset, Types::CountryDetails, Types::CrossPromotionPreferences, Types::CrossPromotions, Types::CurrencyDetails, Types::CustomSecurityHeader, Types::DataElementSet, Types::DescriptionTemplate, Types::DigitalDeliveryDetails, Types::DigitalDeliveryEnabledDefinition, Types::DiscountProfile, Types::DispatchTimeMaxDetails, Types::Dispute, Types::DisputeFilterCount, Types::DisputeMessage, Types::DisputeResolution, Types::Distance, Types::DomainHistogram, Types::DuplicateInvocationDetails, Types::DutchBINEnabledDefinition, Types::EndOfAuctionEmailPreferences, Types::Error, Types::ErrorParameter, Types::ExpansionArray, Types::ExpressConditionRequiredDefinition, Types::ExpressDetails, Types::ExpressEnabledDefinition, Types::ExpressHistogramAisle, Types::ExpressHistogramDepartment, Types::ExpressHistogramDomainDetails, Types::ExpressHistogramProduct, Types::ExpressItemRequirements, Types::ExpressPicturesRequiredDefinition, Types::ExpressPreferences, Types::ExpressProduct, Types::ExpressSellerRequirements, Types::ExtendedContactDetails, Types::ExtendedProductFinderID, Types::ExternalAlertIDArray, Types::ExternalProductID, Types::ExternalTransaction, Types::FaultDetails, Types::FeatureDefinitions, Types::Fee, Types::FeedbackDetail, Types::FeedbackInfo, Types::FeedbackPeriod, Types::FeedbackPeriodArray, Types::FeedbackRequirements, Types::FeedbackSummary, Types::FinanceOffer, Types::FlatRateInsuranceRangeCost, Types::FlatShippingDiscount, Types::FlatShippingPreferences, Types::GetRecommendationsRequestContainer, Types::GetRecommendationsResponseContainer, Types::HistogramEntry, Types::HomePageFeaturedEnabledDefinition, Types::InsuranceDetails, Types::InternationalShippingServiceOptions, Types::Item, Types::ItemBidDetails, Types::ItemIDArray, Types::ItemListCustomization, Types::ItemRatingDetailArray, Types::ItemRatingDetails, Types::ItemTotals, Types::ItemTransactionID, Types::Label, Types::ListingAnalyzerRecommendations, Types::ListingCheckoutRedirectPreference, Types::ListingDesigner, Types::ListingDetails, Types::ListingDurationDefinition, Types::ListingDurationDefinitions, Types::ListingDurationReference, Types::ListingTip, Types::ListingTipField, Types::ListingTipMessage, Types::LiveAuctionApprovalStatus, Types::LiveAuctionApprovalStatusArray, Types::LiveAuctionBid, Types::LiveAuctionBidArray, Types::LiveAuctionCatalog, Types::LiveAuctionDetails, Types::LocalListingDistancesNonSubscriptionDefinition, Types::LocalListingDistancesRegularDefinition, Types::LocalListingDistancesSpecialtyDefinition, Types::LocalMarketNonSubscriptionDefinition, Types::LocalMarketPremiumSubscriptionDefinition, Types::LocalMarketRegularSubscriptionDefinition, Types::LocalMarketSpecialitySubscriptionDefinition, Types::LocalSearch, Types::LookupAttribute, Types::MarkUpMarkDownEvent, Types::MaximumItemRequirements, Types::Measure, Types::MemberMessage, Types::MemberMessageExchange, Types::MemberMessageExchangeArray, Types::MinimumReservePriceDefinition, Types::MyMessagesAlert, Types::MyMessagesAlertArray, Types::MyMessagesAlertIDArray, Types::MyMessagesFolder, Types::MyMessagesFolderSummary, Types::MyMessagesForwardDetails, Types::MyMessagesMessage, Types::MyMessagesMessageArray, Types::MyMessagesMessageIDArray, Types::MyMessagesResponseDetails, Types::MyMessagesSummary, Types::MyeBayFavoriteSearch, Types::MyeBayFavoriteSearchList, Types::MyeBayFavoriteSeller, Types::MyeBayFavoriteSellerList, Types::MyeBaySecondChanceOfferList, Types::MyeBaySelection, Types::MyeBaySellingSummary, Types::NameValueList, Types::NameValueListArray, Types::NotificationDetails, Types::NotificationEnable, Types::NotificationEnableArray, Types::NotificationEventProperty, Types::NotificationStatistics, Types::NotificationUserData, Types::Offer, Types::OfferArray, Types::Order, Types::OrderTransaction, Types::PaginatedItemArray, Types::PaginatedOrderTransactionArray, Types::PaginatedTransactionArray, Types::Pagination, Types::PaginationResult, Types::PaymentDetails, Types::PaymentOptionDetails, Types::PictureDetails, Types::PictureManagerDetails, Types::PictureManagerFolder, Types::PictureManagerPicture, Types::PictureManagerPictureDisplay, Types::PictureManagerSubscription, Types::PriceRangeFilter, Types::PricingRecommendations, Types::ProPackEnabledDefinition, Types::ProPackPlusEnabledDefinition, Types::ProStoresCheckoutPreference, Types::ProStoresDetails, Types::Product, Types::ProductFamily, Types::ProductFinderConstraint, Types::ProductInfo, Types::ProductListingDetails, Types::ProductSearch, Types::ProductSearchPage, Types::ProductSearchResult, Types::PromotedItem, Types::PromotionDetails, Types::PromotionRule, Types::PromotionalSale, Types::PromotionalSaleArray, Types::PromotionalSaleDetails, Types::PromotionalShippingDiscount, Types::PromotionalShippingDiscountDetails, Types::ProximitySearch, Types::Quantity, Types::ReasonCodeDetail, Types::Refund, Types::RegionDetails, Types::RelatedSearchKeywordArray, Types::ReminderCustomization, Types::Reminders, Types::RequestCategories, Types::ResponseAttributeSet, Types::Review, Types::ReviewDetails, Types::ReviseStatus, Types::SIFFTASRecommendations, Types::SMSSubscription, Types::SafePaymentRequiredDefinition, Types::SalesTax, Types::Schedule, Types::SchedulingInfo, Types::SearchAttributes, Types::SearchDetails, Types::SearchLocation, Types::SearchLocationFilter, Types::SearchRequest, Types::SearchResultItem, Types::SearchStoreFilter, Types::Seller, Types::SellerContactDetailsEnabledDefinition, Types::SellerFavoriteItemPreferences, Types::SellerPayment, Types::SellerPaymentPreferences, Types::SellingManagerProductDetails, Types::SellingStatus, Types::SellingSummary, Types::Shipment, Types::ShippingDetails, Types::ShippingInsurance, Types::ShippingLocationDetails, Types::ShippingServiceDetails, Types::ShippingServiceOptions, Types::ShippingTermRequiredDefinition, Types::SiteDefaults, Types::SiteDetails, Types::SiteLocation, Types::SiteWideCharacteristics, Types::SkypeMeNonTransactionalEnabledDefinition, Types::SkypeMeTransactionalEnabledDefinition, Types::SpellingSuggestion, Types::Store, Types::StoreColor, Types::StoreColorScheme, Types::StoreColorSchemeArray, Types::StoreCustomCategory, Types::StoreCustomCategoryArray, Types::StoreCustomListingHeader, Types::StoreCustomListingHeaderLink, Types::StoreCustomPage, Types::StoreCustomPageArray, Types::StoreFont, Types::StoreInventoryEnabledDefinition, Types::StoreLogo, Types::StoreLogoArray, Types::StorePreferences, Types::StoreSubscription, Types::StoreSubscriptionArray, Types::StoreTheme, Types::StoreThemeArray, Types::StoreVacationPreferences, Types::Storefront, Types::Subscription, Types::SuggestedCategory, Types::SummaryEventSchedule, Types::SupportedEventTypesArray, Types::TCREnabledDefinition, Types::TaxJurisdiction, Types::ThemeGroup, Types::TimeZoneDetails, Types::Transaction, Types::TransactionStatus, Types::URLDetails, Types::User, Types::UserConsentRequiredDefinition, Types::UserIDArray, Types::UserIdFilter, Types::UserIdPassword, Types::VATDetails, Types::Val, Types::ValuePackEnabledDefinition, Types::VeROReportItem, Types::VeROReportItems, Types::VeROReportedItem, Types::VeROReportedItemDetails, Types::VeROSiteDetail, Types::VerifiedUserRequirements, Types::WantItNowPost, Types::XMLRequesterCredentials, Types::XSLFile
Defined in:
lib/ebay/initializer.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#initialize(attributes = nil) {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



3
4
5
6
7
# File 'lib/ebay/initializer.rb', line 3

def initialize(attributes = nil)
  super
  self.object_attributes = attributes
  yield self if block_given? 
end

#object_attributes=(new_attributes) ⇒ Object



9
10
11
12
13
14
15
16
17
# File 'lib/ebay/initializer.rb', line 9

def object_attributes=(new_attributes)
  return if new_attributes.nil?
  attributes = new_attributes.dup
  attributes.stringify_keys!

  attributes.each do |k, v|
    send(k + "=", v)
  end
end