ean3 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.mkd +5 -4
- data/ean3-0.0.5.gem +0 -0
- data/ean3-0.0.6.gem +0 -0
- data/ean3.gemspec +1 -1
- data/lib/ean3/hotels.rb +2 -2
- metadata +4 -6
- data/ean3-0.0.1.gem +0 -0
- data/ean3-0.0.2.gem +0 -0
- data/ean3-0.0.3.gem +0 -0
- data/ean3-0.0.4.gem +0 -0
data/README.mkd
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
-
|
1
|
+
# What is ean3?
|
2
2
|
|
3
|
-
|
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
|
-
#
|
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
|
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
data/lib/ean3/hotels.rb
CHANGED
@@ -77,7 +77,7 @@ module Ean3
|
|
77
77
|
#
|
78
78
|
#
|
79
79
|
def getReservation
|
80
|
-
response = conncetion.
|
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.
|
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
|
-
-
|
9
|
-
version: 0.0.
|
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.
|
191
|
-
- ean3-0.0.
|
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
|