ean3 0.0.6 → 0.0.7

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.
data/README.mkd CHANGED
@@ -1,10 +1,11 @@
1
- ## Ean
1
+ # What is ean3?
2
2
 
3
- ean of rails plugin.
3
+ ean3 is wrapped around a ruby plugin EAN API.
4
+ The API document, please refer to the following url.
4
5
 
5
6
  http://developer.ean.com/docs/read/hotels/Version_3
6
7
 
7
- # Example
8
+ # How to use
8
9
 
9
10
  ## console
10
11
 
@@ -31,4 +32,4 @@ http://developer.ean.com/docs/read/hotels/Version_3
31
32
  })
32
33
 
33
34
 
34
- Copyright (c) 2012 [name of plugin creator], released under the MIT license
35
+ Copyright (c) 2012 Toshiaki Takahashi, released under the MIT license
data/ean3-0.0.5.gem ADDED
Binary file
data/ean3-0.0.6.gem ADDED
Binary file
data/ean3.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'ean3'
3
- s.version = '0.0.6'
3
+ s.version = '0.0.7'
4
4
  s.date = '2012-01-29'
5
5
  s.summary = "ean of plugin"
6
6
  s.description = "http://developer.ean.com/docs/read/hotels/Version_3"
data/lib/ean3/hotels.rb CHANGED
@@ -77,7 +77,7 @@ module Ean3
77
77
  #
78
78
  #
79
79
  def getReservation
80
- response = conncetion.get do |req|
80
+ response = conncetion.post do |req|
81
81
  req.url "res", options
82
82
  end
83
83
  return_error_or_body(response, response.body)
@@ -107,7 +107,7 @@ module Ean3
107
107
  #
108
108
  #
109
109
  def getCancel
110
- response = conncetion.get do |req|
110
+ response = conncetion.post do |req|
111
111
  req.url "cancel", options
112
112
  end
113
113
  return_error_or_body(response, response.body)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 6
9
- version: 0.0.6
8
+ - 7
9
+ version: 0.0.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Toshiaki Takahashi
@@ -187,10 +187,8 @@ files:
187
187
  - MIT-LICENSE
188
188
  - README.mkd
189
189
  - Rakefile
190
- - ean3-0.0.1.gem
191
- - ean3-0.0.2.gem
192
- - ean3-0.0.3.gem
193
- - ean3-0.0.4.gem
190
+ - ean3-0.0.5.gem
191
+ - ean3-0.0.6.gem
194
192
  - ean3.gemspec
195
193
  - init.rb
196
194
  - install.rb
data/ean3-0.0.1.gem DELETED
Binary file
data/ean3-0.0.2.gem DELETED
Binary file
data/ean3-0.0.3.gem DELETED
Binary file
data/ean3-0.0.4.gem DELETED
Binary file