ebayapi 0.10.1 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. data/CHANGELOG +6 -0
  2. data/Rakefile +2 -2
  3. data/examples/add_item.rb +50 -0
  4. data/examples/add_member_message_aaq_to_partner.rb +33 -0
  5. data/examples/config.rb +10 -0
  6. data/examples/end_item.rb +18 -0
  7. data/examples/get_api_usage.rb +21 -0
  8. data/examples/get_attributes_xsl.rb +26 -0
  9. data/examples/get_ebay_details.rb +22 -0
  10. data/examples/get_ebay_time.rb +33 -0
  11. data/examples/get_ebay_time_raw.rb +31 -0
  12. data/examples/get_item.rb +25 -0
  13. data/examples/get_item_transactions.rb +36 -0
  14. data/examples/get_items_selling.rb +26 -0
  15. data/examples/get_my_messages.rb +21 -0
  16. data/examples/get_my_messages_folders.rb +20 -0
  17. data/examples/get_notification_preferences.rb +36 -0
  18. data/examples/get_notifications_usage.rb +23 -0
  19. data/examples/get_product_finder_xsl.rb +27 -0
  20. data/examples/get_search_results.rb +51 -0
  21. data/examples/get_user.rb +26 -0
  22. data/examples/mark_my_messages_message_as_read.rb +22 -0
  23. data/examples/revise_item.rb +34 -0
  24. data/examples/set_notification_preferences.rb +27 -0
  25. data/examples/verify_add_item.rb +37 -0
  26. data/lib/ebay/api.rb +5 -5
  27. data/lib/ebay/api_methods.rb +8 -0
  28. data/lib/ebay/requests.rb +1 -0
  29. data/lib/ebay/requests/get_category_listings.rb +3 -0
  30. data/lib/ebay/requests/get_my_ebay_buying.rb +3 -0
  31. data/lib/ebay/requests/get_search_results.rb +11 -0
  32. data/lib/ebay/requests/set_shipping_discount_profiles.rb +3 -3
  33. data/lib/ebay/requests/upload_site_hosted_pictures.rb +22 -0
  34. data/lib/ebay/responses.rb +1 -0
  35. data/lib/ebay/responses/get_my_ebay_buying.rb +3 -0
  36. data/lib/ebay/responses/get_shipping_discount_profiles.rb +3 -3
  37. data/lib/ebay/responses/upload_site_hosted_pictures.rb +18 -0
  38. data/lib/ebay/schema/mapper/ebay_schema_importer.rb +1 -1
  39. data/lib/ebay/schema/mapper/ruby_class_generator.rb +1 -1
  40. data/lib/ebay/schema/mapper/templates/xsl_file.erb +2 -1
  41. data/lib/ebay/schema/version.rb +1 -1
  42. data/lib/ebay/types.rb +8 -0
  43. data/lib/ebay/types/ad_format_lead.rb +2 -0
  44. data/lib/ebay/types/base64_binary.rb +17 -0
  45. data/lib/ebay/types/bid_assistant_list.rb +17 -0
  46. data/lib/ebay/types/bid_group.rb +22 -0
  47. data/lib/ebay/types/bid_group_array.rb +16 -0
  48. data/lib/ebay/types/bid_group_item.rb +20 -0
  49. data/lib/ebay/types/bid_group_item_status_code.rb +16 -0
  50. data/lib/ebay/types/bid_group_status_code.rb +11 -0
  51. data/lib/ebay/types/bid_range.rb +17 -0
  52. data/lib/ebay/types/bidding_details.rb +2 -0
  53. data/lib/ebay/types/buyer_protection_details.rb +17 -0
  54. data/lib/ebay/types/buyer_protection_source_code.rb +11 -0
  55. data/lib/ebay/types/category_feature.rb +2 -0
  56. data/lib/ebay/types/category_listings_order_code.rb +1 -0
  57. data/lib/ebay/types/classified_ad_pay_per_lead_enabled_definition.rb +13 -0
  58. data/lib/ebay/types/date.rb +19 -0
  59. data/lib/ebay/types/extended_contact_details.rb +4 -0
  60. data/lib/ebay/types/feature_definitions.rb +3 -0
  61. data/lib/ebay/types/feature_id_code.rb +4 -0
  62. data/lib/ebay/types/group.rb +17 -0
  63. data/lib/ebay/types/item.rb +9 -0
  64. data/lib/ebay/types/item_condition_code.rb +11 -0
  65. data/lib/ebay/types/item_sort_type_code.rb +2 -0
  66. data/lib/ebay/types/listing_details.rb +2 -0
  67. data/lib/ebay/types/picture_format_code.rb +11 -0
  68. data/lib/ebay/types/picture_set_code.rb +12 -0
  69. data/lib/ebay/types/picture_set_member.rb +19 -0
  70. data/lib/ebay/types/request_categories.rb +2 -0
  71. data/lib/ebay/types/search_sort_order_code.rb +1 -0
  72. data/lib/ebay/types/shipping_details.rb +2 -0
  73. data/lib/ebay/types/shipping_service_code.rb +3 -0
  74. data/lib/ebay/types/site_defaults.rb +2 -0
  75. data/lib/ebay/types/site_hosted_picture_details.rb +26 -0
  76. data/lib/ebay/types/store_custom_listing_header.rb +0 -2
  77. data/lib/ebay/types/ticket_details.rb +24 -0
  78. data/lib/ebay/types/ticket_event_type_code.rb +31 -0
  79. data/lib/ebay/types/transaction.rb +4 -0
  80. data/lib/ebay/types/transaction_platform_code.rb +13 -0
  81. data/lib/ebay/types/xsl_file.rb +2 -1
  82. data/rakefile +2 -2
  83. metadata +49 -4
  84. data/lib/ebay/types/promotional_shipping_discount.rb +0 -21
@@ -39,6 +39,10 @@ module Ebay # :nodoc:
39
39
  ClassifiedAdContactByEmailEnabled = 'ClassifiedAdContactByEmailEnabled'
40
40
  ClassifiedAdContactByPhoneEnabled = 'ClassifiedAdContactByPhoneEnabled'
41
41
  SafePaymentRequired = 'SafePaymentRequired'
42
+ MaximumBestOffersAllowed = 'MaximumBestOffersAllowed'
43
+ ClassifiedAdMaximumBestOffersAllowed = 'ClassifiedAdMaximumBestOffersAllowed'
44
+ ClassifiedAdContactByEmailAvailable = 'ClassifiedAdContactByEmailAvailable'
45
+ ClassifiedAdPayPerLeadEnabled = 'ClassifiedAdPayPerLeadEnabled'
42
46
  end
43
47
  end
44
48
  end
@@ -0,0 +1,17 @@
1
+
2
+ module Ebay # :nodoc:
3
+ module Types # :nodoc:
4
+ # == Attributes
5
+ # numeric_node :max_groups, 'MaxGroups', :optional => true
6
+ # numeric_node :max_entries_per_group, 'MaxEntriesPerGroup', :optional => true
7
+ class Group
8
+ include XML::Mapping
9
+ include Initializer
10
+ root_element_name 'Group'
11
+ numeric_node :max_groups, 'MaxGroups', :optional => true
12
+ numeric_node :max_entries_per_group, 'MaxEntriesPerGroup', :optional => true
13
+ end
14
+ end
15
+ end
16
+
17
+
@@ -28,6 +28,7 @@ require 'ebay/types/express_details'
28
28
  require 'ebay/types/address'
29
29
  require 'ebay/types/extended_contact_details'
30
30
  require 'ebay/types/name_value_list'
31
+ require 'ebay/types/buyer_protection_details'
31
32
 
32
33
  module Ebay # :nodoc:
33
34
  module Types # :nodoc:
@@ -136,6 +137,10 @@ module Ebay # :nodoc:
136
137
  # numeric_node :lead_count, 'LeadCount', :optional => true
137
138
  # numeric_node :new_lead_count, 'NewLeadCount', :optional => true
138
139
  # array_node :item_specifics, 'ItemSpecifics', 'NameValueList', :class => NameValueList, :default_value => []
140
+ # text_node :group_category_id, 'GroupCategoryID', :optional => true
141
+ # money_node :classified_ad_pay_per_lead_fee, 'ClassifiedAdPayPerLeadFee', :optional => true
142
+ # boolean_node :bid_group_item, 'BidGroupItem', 'true', 'false', :optional => true
143
+ # object_node :apply_buyer_protection, 'ApplyBuyerProtection', :class => BuyerProtectionDetails, :optional => true
139
144
  class Item
140
145
  include XML::Mapping
141
146
  include Initializer
@@ -244,6 +249,10 @@ module Ebay # :nodoc:
244
249
  numeric_node :lead_count, 'LeadCount', :optional => true
245
250
  numeric_node :new_lead_count, 'NewLeadCount', :optional => true
246
251
  array_node :item_specifics, 'ItemSpecifics', 'NameValueList', :class => NameValueList, :default_value => []
252
+ text_node :group_category_id, 'GroupCategoryID', :optional => true
253
+ money_node :classified_ad_pay_per_lead_fee, 'ClassifiedAdPayPerLeadFee', :optional => true
254
+ boolean_node :bid_group_item, 'BidGroupItem', 'true', 'false', :optional => true
255
+ object_node :apply_buyer_protection, 'ApplyBuyerProtection', :class => BuyerProtectionDetails, :optional => true
247
256
  end
248
257
  end
249
258
  end
@@ -0,0 +1,11 @@
1
+ module Ebay # :nodoc:
2
+ module Types # :nodoc:
3
+ class ItemConditionCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ New = 'New'
7
+ Used = 'Used'
8
+ end
9
+ end
10
+ end
11
+
@@ -77,6 +77,8 @@ module Ebay # :nodoc:
77
77
  NewLeadCount = 'NewLeadCount'
78
78
  LeadCountDescending = 'LeadCountDescending'
79
79
  NewLeadCountDescending = 'NewLeadCountDescending'
80
+ ClassifiedAdPayPerLeadFee = 'ClassifiedAdPayPerLeadFee'
81
+ ClassifiedAdPayPerLeadFeeDescending = 'ClassifiedAdPayPerLeadFeeDescending'
80
82
  end
81
83
  end
82
84
  end
@@ -26,6 +26,7 @@ module Ebay # :nodoc:
26
26
  # object_node :express_item_requirements, 'ExpressItemRequirements', :class => ExpressItemRequirements, :optional => true
27
27
  # text_node :tcr_original_item_id, 'TCROriginalItemID', :optional => true
28
28
  # text_node :view_item_url_for_natural_search, 'ViewItemURLForNaturalSearch', :optional => true
29
+ # boolean_node :pay_per_lead_enabled, 'PayPerLeadEnabled', 'true', 'false', :optional => true
29
30
  class ListingDetails
30
31
  include XML::Mapping
31
32
  include Initializer
@@ -53,6 +54,7 @@ module Ebay # :nodoc:
53
54
  object_node :express_item_requirements, 'ExpressItemRequirements', :class => ExpressItemRequirements, :optional => true
54
55
  text_node :tcr_original_item_id, 'TCROriginalItemID', :optional => true
55
56
  text_node :view_item_url_for_natural_search, 'ViewItemURLForNaturalSearch', :optional => true
57
+ boolean_node :pay_per_lead_enabled, 'PayPerLeadEnabled', 'true', 'false', :optional => true
56
58
  end
57
59
  end
58
60
  end
@@ -0,0 +1,11 @@
1
+ module Ebay # :nodoc:
2
+ module Types # :nodoc:
3
+ class PictureFormatCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ JPG = 'JPG'
7
+ GIF = 'GIF'
8
+ end
9
+ end
10
+ end
11
+
@@ -0,0 +1,12 @@
1
+ module Ebay # :nodoc:
2
+ module Types # :nodoc:
3
+ class PictureSetCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ Standard = 'Standard'
7
+ Supersize = 'Supersize'
8
+ Large = 'Large'
9
+ end
10
+ end
11
+ end
12
+
@@ -0,0 +1,19 @@
1
+
2
+ module Ebay # :nodoc:
3
+ module Types # :nodoc:
4
+ # == Attributes
5
+ # text_node :member_url, 'MemberURL', :optional => true
6
+ # numeric_node :picture_height, 'PictureHeight', :optional => true
7
+ # numeric_node :picture_width, 'PictureWidth', :optional => true
8
+ class PictureSetMember
9
+ include XML::Mapping
10
+ include Initializer
11
+ root_element_name 'PictureSetMember'
12
+ text_node :member_url, 'MemberURL', :optional => true
13
+ numeric_node :picture_height, 'PictureHeight', :optional => true
14
+ numeric_node :picture_width, 'PictureWidth', :optional => true
15
+ end
16
+ end
17
+ end
18
+
19
+
@@ -6,6 +6,7 @@ module Ebay # :nodoc:
6
6
  # numeric_node :max_categories, 'MaxCategories', :optional => true
7
7
  # numeric_node :max_subcategories, 'MaxSubcategories', :optional => true
8
8
  # numeric_node :levels, 'Levels', :optional => true
9
+ # boolean_node :demand_data, 'DemandData', 'true', 'false', :optional => true
9
10
  class RequestCategories
10
11
  include XML::Mapping
11
12
  include Initializer
@@ -14,6 +15,7 @@ module Ebay # :nodoc:
14
15
  numeric_node :max_categories, 'MaxCategories', :optional => true
15
16
  numeric_node :max_subcategories, 'MaxSubcategories', :optional => true
16
17
  numeric_node :levels, 'Levels', :optional => true
18
+ boolean_node :demand_data, 'DemandData', 'true', 'false', :optional => true
17
19
  end
18
20
  end
19
21
  end
@@ -19,6 +19,7 @@ module Ebay # :nodoc:
19
19
  SortByBidCountAsc = 'SortByBidCountAsc'
20
20
  SortByBidCountDesc = 'SortByBidCountDesc'
21
21
  BestMatchSort = 'BestMatchSort'
22
+ BestMatchCategoryGroup = 'BestMatchCategoryGroup'
22
23
  end
23
24
  end
24
25
  end
@@ -11,6 +11,7 @@ require 'ebay/types/promotional_shipping_discount_details'
11
11
  module Ebay # :nodoc:
12
12
  module Types # :nodoc:
13
13
  # == Attributes
14
+ # boolean_node :allow_payment_edit, 'AllowPaymentEdit', 'true', 'false', :optional => true
14
15
  # boolean_node :apply_shipping_discount, 'ApplyShippingDiscount', 'true', 'false', :optional => true
15
16
  # object_node :calculated_shipping_rate, 'CalculatedShippingRate', :class => CalculatedShippingRate, :optional => true
16
17
  # boolean_node :change_payment_instructions, 'ChangePaymentInstructions', 'true', 'false', :optional => true
@@ -47,6 +48,7 @@ module Ebay # :nodoc:
47
48
  include XML::Mapping
48
49
  include Initializer
49
50
  root_element_name 'ShippingDetails'
51
+ boolean_node :allow_payment_edit, 'AllowPaymentEdit', 'true', 'false', :optional => true
50
52
  boolean_node :apply_shipping_discount, 'ApplyShippingDiscount', 'true', 'false', :optional => true
51
53
  object_node :calculated_shipping_rate, 'CalculatedShippingRate', :class => CalculatedShippingRate, :optional => true
52
54
  boolean_node :change_payment_instructions, 'ChangePaymentInstructions', 'true', 'false', :optional => true
@@ -428,6 +428,9 @@ module Ebay # :nodoc:
428
428
  CAFRUPSWorldWideExpress = 'CAFR_UPSWorldWideExpress'
429
429
  CAFRUPSWorldWideExpedited = 'CAFR_UPSWorldWideExpedited'
430
430
  UKRoyalMailSpecialDelivery9am = 'UK_RoyalMailSpecialDelivery9am'
431
+ USPSFirstClassMailInternational = 'USPSFirstClassMailInternational'
432
+ USPSPriorityMailInternational = 'USPSPriorityMailInternational'
433
+ USPSExpressMailInternational = 'USPSExpressMailInternational'
431
434
  end
432
435
  end
433
436
  end
@@ -41,6 +41,7 @@ module Ebay # :nodoc:
41
41
  # boolean_node :classified_ad_contact_by_phone_enabled, 'ClassifiedAdContactByPhoneEnabled', 'true', 'false', :optional => true
42
42
  # boolean_node :classified_ad_contact_by_email_enabled, 'ClassifiedAdContactByEmailEnabled', 'true', 'false', :optional => true
43
43
  # boolean_node :safe_payment_required, 'SafePaymentRequired', 'true', 'false', :optional => true
44
+ # boolean_node :classified_ad_pay_per_lead_enabled, 'ClassifiedAdPayPerLeadEnabled', 'true', 'false', :optional => true
44
45
  class SiteDefaults
45
46
  include XML::Mapping
46
47
  include Initializer
@@ -83,6 +84,7 @@ module Ebay # :nodoc:
83
84
  boolean_node :classified_ad_contact_by_phone_enabled, 'ClassifiedAdContactByPhoneEnabled', 'true', 'false', :optional => true
84
85
  boolean_node :classified_ad_contact_by_email_enabled, 'ClassifiedAdContactByEmailEnabled', 'true', 'false', :optional => true
85
86
  boolean_node :safe_payment_required, 'SafePaymentRequired', 'true', 'false', :optional => true
87
+ boolean_node :classified_ad_pay_per_lead_enabled, 'ClassifiedAdPayPerLeadEnabled', 'true', 'false', :optional => true
86
88
  end
87
89
  end
88
90
  end
@@ -0,0 +1,26 @@
1
+ require 'ebay/types/picture_set_member'
2
+
3
+ module Ebay # :nodoc:
4
+ module Types # :nodoc:
5
+ # == Attributes
6
+ # text_node :picture_name, 'PictureName', :optional => true
7
+ # text_node :picture_set, 'PictureSet', :optional => true
8
+ # text_node :picture_format, 'PictureFormat', :optional => true
9
+ # text_node :full_url, 'FullURL', :optional => true
10
+ # text_node :base_url, 'BaseURL', :optional => true
11
+ # array_node :picture_set_members, 'PictureSetMember', :class => PictureSetMember, :default_value => []
12
+ class SiteHostedPictureDetails
13
+ include XML::Mapping
14
+ include Initializer
15
+ root_element_name 'SiteHostedPictureDetails'
16
+ text_node :picture_name, 'PictureName', :optional => true
17
+ text_node :picture_set, 'PictureSet', :optional => true
18
+ text_node :picture_format, 'PictureFormat', :optional => true
19
+ text_node :full_url, 'FullURL', :optional => true
20
+ text_node :base_url, 'BaseURL', :optional => true
21
+ array_node :picture_set_members, 'PictureSetMember', :class => PictureSetMember, :default_value => []
22
+ end
23
+ end
24
+ end
25
+
26
+
@@ -9,7 +9,6 @@ module Ebay # :nodoc:
9
9
  # array_node :link_to_includes, 'LinkToInclude', :class => StoreCustomListingHeaderLink, :default_value => []
10
10
  # boolean_node :add_to_favorite_stores, 'AddToFavoriteStores', 'true', 'false', :optional => true
11
11
  # boolean_node :sign_up_for_store_newsletter, 'SignUpForStoreNewsletter', 'true', 'false', :optional => true
12
- # boolean_node :bread_crumb, 'BreadCrumb', 'true', 'false', :optional => true
13
12
  class StoreCustomListingHeader
14
13
  include XML::Mapping
15
14
  include Initializer
@@ -20,7 +19,6 @@ module Ebay # :nodoc:
20
19
  array_node :link_to_includes, 'LinkToInclude', :class => StoreCustomListingHeaderLink, :default_value => []
21
20
  boolean_node :add_to_favorite_stores, 'AddToFavoriteStores', 'true', 'false', :optional => true
22
21
  boolean_node :sign_up_for_store_newsletter, 'SignUpForStoreNewsletter', 'true', 'false', :optional => true
23
- boolean_node :bread_crumb, 'BreadCrumb', 'true', 'false', :optional => true
24
22
  end
25
23
  end
26
24
  end
@@ -0,0 +1,24 @@
1
+ require 'ebay/types/date'
2
+
3
+ module Ebay # :nodoc:
4
+ module Types # :nodoc:
5
+ # == Attributes
6
+ # text_node :event_type, 'EventType', :optional => true
7
+ # object_node :event_date, 'EventDate', :class => Date, :optional => true
8
+ # text_node :state_or_province, 'StateOrProvince', :optional => true
9
+ # text_node :city_name, 'CityName', :optional => true
10
+ # numeric_node :ticket_quantity, 'TicketQuantity', :optional => true
11
+ class TicketDetails
12
+ include XML::Mapping
13
+ include Initializer
14
+ root_element_name 'TicketDetails'
15
+ text_node :event_type, 'EventType', :optional => true
16
+ object_node :event_date, 'EventDate', :class => Date, :optional => true
17
+ text_node :state_or_province, 'StateOrProvince', :optional => true
18
+ text_node :city_name, 'CityName', :optional => true
19
+ numeric_node :ticket_quantity, 'TicketQuantity', :optional => true
20
+ end
21
+ end
22
+ end
23
+
24
+
@@ -0,0 +1,31 @@
1
+ module Ebay # :nodoc:
2
+ module Types # :nodoc:
3
+ class TicketEventTypeCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ Any = 'Any'
7
+ DEComedyAndKabarett = 'DE_ComedyAndKabarett'
8
+ DEFreizeitAndEvents = 'DE_FreizeitAndEvents'
9
+ DEKonzerteAndFestivals = 'DE_KonzerteAndFestivals'
10
+ DEKulturAndKlassik = 'DE_KulturAndKlassik'
11
+ DEMusicalsAndShows = 'DE_MusicalsAndShows'
12
+ DESportveranstaltungen = 'DE_Sportveranstaltungen'
13
+ DESonstige = 'DE_Sonstige'
14
+ UKAmusementParks = 'UK_AmusementParks'
15
+ UKComedy = 'UK_Comedy'
16
+ UKConcertsAndGigs = 'UK_ConcertsAndGigs'
17
+ UKConferencesAndSeminars = 'UK_ConferencesAndSeminars'
18
+ UKExhibitionsAndShows = 'UK_ExhibitionsAndShows'
19
+ UKExperiences = 'UK_Experiences'
20
+ UKSportingEvents = 'UK_SportingEvents'
21
+ UKTheatreCinemaAndCircus = 'UK_TheatreCinemaAndCircus'
22
+ UKOther = 'UK_Other'
23
+ USConcerts = 'US_Concerts'
24
+ USMovies = 'US_Movies'
25
+ USSportingEvents = 'US_SportingEvents'
26
+ USTheater = 'US_Theater'
27
+ USOther = 'US_Other'
28
+ end
29
+ end
30
+ end
31
+
@@ -46,6 +46,8 @@ module Ebay # :nodoc:
46
46
  # text_node :transaction_platform, 'TransactionPlatform', :optional => true
47
47
  # object_node :listing_checkout_redirect_preference, 'ListingCheckoutRedirectPreference', :class => ListingCheckoutRedirectPreference, :optional => true
48
48
  # array_node :refunds, 'RefundArray', 'Refund', :class => Refund, :default_value => []
49
+ # text_node :transaction_site_id, 'TransactionSiteID', :optional => true
50
+ # text_node :transaction_cobrand_id, 'TransactionCobrandID', :optional => true
49
51
  class Transaction
50
52
  include XML::Mapping
51
53
  include Initializer
@@ -83,6 +85,8 @@ module Ebay # :nodoc:
83
85
  text_node :transaction_platform, 'TransactionPlatform', :optional => true
84
86
  object_node :listing_checkout_redirect_preference, 'ListingCheckoutRedirectPreference', :class => ListingCheckoutRedirectPreference, :optional => true
85
87
  array_node :refunds, 'RefundArray', 'Refund', :class => Refund, :default_value => []
88
+ text_node :transaction_site_id, 'TransactionSiteID', :optional => true
89
+ text_node :transaction_cobrand_id, 'TransactionCobrandID', :optional => true
86
90
  end
87
91
  end
88
92
  end
@@ -0,0 +1,13 @@
1
+ module Ebay # :nodoc:
2
+ module Types # :nodoc:
3
+ class TransactionPlatformCode
4
+ extend Enumerable
5
+ extend Enumeration
6
+ EBay = 'eBay'
7
+ Express = 'Express'
8
+ Half = 'Half'
9
+ Shopping = 'Shopping'
10
+ end
11
+ end
12
+ end
13
+
@@ -22,7 +22,8 @@ module Ebay # :nodoc:
22
22
  private
23
23
  def unpack_stylesheet(base64string)
24
24
  stylesheet = base64string.unpack('m').first
25
- stylesheet.gsub!(/urn:schemas-microsoft-com:xslt/, 'http://exslt.org/common')
25
+ stylesheet.sub!(/urn:schemas-microsoft-com:xslt/, 'http://exslt.org/common')
26
+ stylesheet.sub!(/exclude-result-prefixes="x"/, 'exclude-result-prefixes="x xal"')
26
27
  end
27
28
  end
28
29
  end
data/rakefile CHANGED
@@ -6,12 +6,12 @@ require 'rake/rdoctask'
6
6
  require 'rake/gempackagetask'
7
7
  require 'rake/contrib/rubyforgepublisher'
8
8
 
9
- PKG_VERSION = "0.10.1"
9
+ PKG_VERSION = "0.10.2"
10
10
  PKG_NAME = "ebayapi"
11
11
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
12
12
 
13
13
  PKG_FILES = FileList[
14
- "lib/**/*", "test/**/*", "example/**/*", "[A-Z]*", "rakefile", "init.rb"
14
+ "lib/**/*", "test/**/*", "examples/**/*", "[A-Z]*", "rakefile", "init.rb"
15
15
  ].exclude(/~$|\.svn/)
16
16
 
17
17
  response_dir = File.join(File.dirname(__FILE__), 'test', 'fixtures', 'responses')
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
2
+ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: ebayapi
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.10.1
7
- date: 2007-03-13 00:00:00 -04:00
6
+ version: 0.10.2
7
+ date: 2007-05-31 00:00:00 -04:00
8
8
  summary: Ruby client for the eBay unified schema XML API
9
9
  require_paths:
10
10
  - lib
@@ -178,6 +178,7 @@ files:
178
178
  - lib/ebay/requests/set_tax_table.rb
179
179
  - lib/ebay/requests/set_user_notes.rb
180
180
  - lib/ebay/requests/set_user_preferences.rb
181
+ - lib/ebay/requests/upload_site_hosted_pictures.rb
181
182
  - lib/ebay/requests/validate_challenge_input.rb
182
183
  - lib/ebay/requests/validate_test_user_registration.rb
183
184
  - lib/ebay/requests/verify_add_item.rb
@@ -313,6 +314,7 @@ files:
313
314
  - lib/ebay/responses/set_tax_table.rb
314
315
  - lib/ebay/responses/set_user_notes.rb
315
316
  - lib/ebay/responses/set_user_preferences.rb
317
+ - lib/ebay/responses/upload_site_hosted_pictures.rb
316
318
  - lib/ebay/responses/validate_challenge_input.rb
317
319
  - lib/ebay/responses/validate_test_user_registration.rb
318
320
  - lib/ebay/responses/verify_add_item.rb
@@ -371,6 +373,7 @@ files:
371
373
  - lib/ebay/types/average_rating_detail_array.rb
372
374
  - lib/ebay/types/average_rating_details.rb
373
375
  - lib/ebay/types/balance_code.rb
376
+ - lib/ebay/types/base64_binary.rb
374
377
  - lib/ebay/types/basic_amount.rb
375
378
  - lib/ebay/types/basic_upgrade_pack_enabled_definition.rb
376
379
  - lib/ebay/types/best_offer.rb
@@ -384,6 +387,13 @@ files:
384
387
  - lib/ebay/types/bid_action_code.rb
385
388
  - lib/ebay/types/bid_approval.rb
386
389
  - lib/ebay/types/bid_approval_array.rb
390
+ - lib/ebay/types/bid_assistant_list.rb
391
+ - lib/ebay/types/bid_group.rb
392
+ - lib/ebay/types/bid_group_array.rb
393
+ - lib/ebay/types/bid_group_item.rb
394
+ - lib/ebay/types/bid_group_item_status_code.rb
395
+ - lib/ebay/types/bid_group_status_code.rb
396
+ - lib/ebay/types/bid_range.rb
387
397
  - lib/ebay/types/bidder_detail.rb
388
398
  - lib/ebay/types/bidder_detail_array.rb
389
399
  - lib/ebay/types/bidder_notice_preferences.rb
@@ -395,6 +405,8 @@ files:
395
405
  - lib/ebay/types/buyer.rb
396
406
  - lib/ebay/types/buyer_payment_method_code.rb
397
407
  - lib/ebay/types/buyer_protection_code.rb
408
+ - lib/ebay/types/buyer_protection_details.rb
409
+ - lib/ebay/types/buyer_protection_source_code.rb
398
410
  - lib/ebay/types/buyer_requirements.rb
399
411
  - lib/ebay/types/buying_guide.rb
400
412
  - lib/ebay/types/buying_guide_details.rb
@@ -440,6 +452,7 @@ files:
440
452
  - lib/ebay/types/classified_ad_contact_by_email_enabled_defintion.rb
441
453
  - lib/ebay/types/classified_ad_contact_by_phone_enabled_definition.rb
442
454
  - lib/ebay/types/classified_ad_counter_offer_enabled_definition.rb
455
+ - lib/ebay/types/classified_ad_pay_per_lead_enabled_definition.rb
443
456
  - lib/ebay/types/classified_ad_payment_method_enabled_code.rb
444
457
  - lib/ebay/types/classified_ad_payment_method_enabled_definition.rb
445
458
  - lib/ebay/types/classified_ad_shipping_method_enabled_definition.rb
@@ -459,6 +472,7 @@ files:
459
472
  - lib/ebay/types/currency_details.rb
460
473
  - lib/ebay/types/custom_security_header.rb
461
474
  - lib/ebay/types/data_element_set.rb
475
+ - lib/ebay/types/date.rb
462
476
  - lib/ebay/types/date_specifier_code.rb
463
477
  - lib/ebay/types/days_code.rb
464
478
  - lib/ebay/types/deposit_type_code.rb
@@ -558,6 +572,7 @@ files:
558
572
  - lib/ebay/types/get_recommendations_response_container.rb
559
573
  - lib/ebay/types/gift_services_code.rb
560
574
  - lib/ebay/types/granularity_level_code.rb
575
+ - lib/ebay/types/group.rb
561
576
  - lib/ebay/types/handling_name_code.rb
562
577
  - lib/ebay/types/histogram_entry.rb
563
578
  - lib/ebay/types/hit_counter_code.rb
@@ -569,6 +584,7 @@ files:
569
584
  - lib/ebay/types/invocation_status.rb
570
585
  - lib/ebay/types/item.rb
571
586
  - lib/ebay/types/item_bid_details.rb
587
+ - lib/ebay/types/item_condition_code.rb
572
588
  - lib/ebay/types/item_format_sort_filter_code.rb
573
589
  - lib/ebay/types/item_id_array.rb
574
590
  - lib/ebay/types/item_list_customization.rb
@@ -685,6 +701,7 @@ files:
685
701
  - lib/ebay/types/paypal_account_type_code.rb
686
702
  - lib/ebay/types/photo_display_code.rb
687
703
  - lib/ebay/types/picture_details.rb
704
+ - lib/ebay/types/picture_format_code.rb
688
705
  - lib/ebay/types/picture_manager_action_code.rb
689
706
  - lib/ebay/types/picture_manager_detail_level_code.rb
690
707
  - lib/ebay/types/picture_manager_details.rb
@@ -694,6 +711,8 @@ files:
694
711
  - lib/ebay/types/picture_manager_picture_display_type_code.rb
695
712
  - lib/ebay/types/picture_manager_subscription.rb
696
713
  - lib/ebay/types/picture_manager_subscription_level_code.rb
714
+ - lib/ebay/types/picture_set_code.rb
715
+ - lib/ebay/types/picture_set_member.rb
697
716
  - lib/ebay/types/picture_source_code.rb
698
717
  - lib/ebay/types/price_range_filter.rb
699
718
  - lib/ebay/types/pricing_recommendations.rb
@@ -722,7 +741,6 @@ files:
722
741
  - lib/ebay/types/promotional_sale_array.rb
723
742
  - lib/ebay/types/promotional_sale_details.rb
724
743
  - lib/ebay/types/promotional_sale_status_code.rb
725
- - lib/ebay/types/promotional_shipping_discount.rb
726
744
  - lib/ebay/types/promotional_shipping_discount_details.rb
727
745
  - lib/ebay/types/proximity_search.rb
728
746
  - lib/ebay/types/purchase_purpose_type_code.rb
@@ -796,6 +814,7 @@ files:
796
814
  - lib/ebay/types/site_code.rb
797
815
  - lib/ebay/types/site_defaults.rb
798
816
  - lib/ebay/types/site_details.rb
817
+ - lib/ebay/types/site_hosted_picture_details.rb
799
818
  - lib/ebay/types/site_id_filter_code.rb
800
819
  - lib/ebay/types/site_location.rb
801
820
  - lib/ebay/types/site_wide_characteristics.rb
@@ -851,11 +870,14 @@ files:
851
870
  - lib/ebay/types/tax_jurisdiction.rb
852
871
  - lib/ebay/types/tcr_enabled_definition.rb
853
872
  - lib/ebay/types/theme_group.rb
873
+ - lib/ebay/types/ticket_details.rb
874
+ - lib/ebay/types/ticket_event_type_code.rb
854
875
  - lib/ebay/types/time_zone_details.rb
855
876
  - lib/ebay/types/token_return_method_code.rb
856
877
  - lib/ebay/types/trading_role_code.rb
857
878
  - lib/ebay/types/transaction.rb
858
879
  - lib/ebay/types/transaction_platform.rb
880
+ - lib/ebay/types/transaction_platform_code.rb
859
881
  - lib/ebay/types/transaction_status.rb
860
882
  - lib/ebay/types/unit_code.rb
861
883
  - lib/ebay/types/ups_rate_option_code.rb
@@ -935,6 +957,29 @@ files:
935
957
  - test/unit/xml_mapping_test.rb
936
958
  - test/unit/xml_mapping_time_node_test.rb
937
959
  - test/unit/xml_mapping_value_array_node_test.rb
960
+ - examples/add_item.rb
961
+ - examples/add_member_message_aaq_to_partner.rb
962
+ - examples/config.rb
963
+ - examples/end_item.rb
964
+ - examples/get_api_usage.rb
965
+ - examples/get_attributes_xsl.rb
966
+ - examples/get_ebay_details.rb
967
+ - examples/get_ebay_time.rb
968
+ - examples/get_ebay_time_raw.rb
969
+ - examples/get_item.rb
970
+ - examples/get_item_transactions.rb
971
+ - examples/get_items_selling.rb
972
+ - examples/get_my_messages.rb
973
+ - examples/get_my_messages_folders.rb
974
+ - examples/get_notification_preferences.rb
975
+ - examples/get_notifications_usage.rb
976
+ - examples/get_product_finder_xsl.rb
977
+ - examples/get_search_results.rb
978
+ - examples/get_user.rb
979
+ - examples/mark_my_messages_message_as_read.rb
980
+ - examples/revise_item.rb
981
+ - examples/set_notification_preferences.rb
982
+ - examples/verify_add_item.rb
938
983
  - CHANGELOG
939
984
  - MIT-LICENSE
940
985
  - Rakefile