brownpapertickets 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,7 +48,8 @@ module BrownPaperTickets
48
48
  def create_report
49
49
  body = {"id" => @@id, "account" => @@account, "event_id" => event_id, "date_id"=>date_id, "price_id" => price_id}
50
50
  query = self.attributes.merge("id" => @@id, "account" => @@account,"event_id" => event_id, "date_id"=>date_id, "price_id" => price_id )
51
- response = BrownPaperTickets::Httpost.new(Net::HTTP::Get, "https://www.brownpapertickets.com/api2/orderlist",:query => query)
51
+ response = BrownPaperTickets::Httpost.new(Net::HTTP::Post, "https://www.brownpapertickets.com/api2/orderlist",:query => query)
52
+ p response
52
53
  response.options[:body] = query
53
54
  st = response.perform
54
55
  xml = Hpricot(st.response.body)
@@ -1,3 +1,3 @@
1
1
  module BrownPaperTickets
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brownpapertickets
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alvaro Insignares
@@ -104,7 +104,6 @@ files:
104
104
  - LICENSE
105
105
  - README.textile
106
106
  - Rakefile
107
- - VERSION
108
107
  - brownpapertickets.gemspec
109
108
  - examples/create_item.rb
110
109
  - examples/fetch_items.rb
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.0.7