Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: demersus/ebay-classifieds
base: 0c2a80b711
...
head fork: demersus/ebay-classifieds
compare: 50ead5e1b7
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
View
5 lib/ebay_classifieds/models/ad.rb
@@ -1,7 +1,7 @@
module EbayClassifieds
module Models
class Ad
- attr_accessor :price, :locations, :status, :url,
+ attr_accessor :price, :locations, :status, :url, :phone,
:id, :title, :address, :attributes,
:description, :category, :pictures,
:modification_date_time, :start_date_time
@@ -46,7 +46,8 @@ def self.new_from_api_data(data)
:category => Category.new_from_api_data(data['category']),
:start_date_time => (Time.parse(data['start_date_time']) rescue nil),
:modification_date_time => (Time.parse(data['modification_date_time']) rescue nil),
- :address => AdAddress.new_from_api_data(data['ad_address']))
+ :address => AdAddress.new_from_api_data(data['ad_address']),
+ :phone => data['phone'])
if data['price'] && data['price']['amount']
inst.price = data['price']['amount'].to_f
end
View
2  lib/ebay_classifieds/version.rb
@@ -1,3 +1,3 @@
module EbayClassifieds
- VERSION = "0.5.4"
+ VERSION = "0.5.5"
end

No commit comments for this range

Something went wrong with that request. Please try again.