emporium 0.0.2.alpha → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +6 -4
- data/lib/emporium/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -15,9 +15,10 @@ Add to your Gemfile and run the `bundle` command to install it.
|
|
15
15
|
## Configuration
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
|
19
|
-
config.
|
20
|
-
|
18
|
+
service = Emporium::Services::Amazon.configuration do |config|
|
19
|
+
config.access_key = "access_key"
|
20
|
+
config.associate_tag = "associate_tag"
|
21
|
+
config.secret = "secret"
|
21
22
|
end
|
22
23
|
```
|
23
24
|
|
@@ -29,7 +30,8 @@ Give it a UPC to fetch a product object. The Code only takes UPC-A digits
|
|
29
30
|
```ruby
|
30
31
|
require 'emporium'
|
31
32
|
|
32
|
-
product = Emporium::Product.new
|
33
|
+
product = Emporium::Product.new("066661234567")
|
34
|
+
product.use service
|
33
35
|
product.fetch!
|
34
36
|
```
|
35
37
|
|
data/lib/emporium/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emporium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 0.0.2
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Hugo Bastien
|
@@ -86,9 +86,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
86
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
87
|
none: false
|
88
88
|
requirements:
|
89
|
-
- - "
|
89
|
+
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version:
|
91
|
+
version: "0"
|
92
92
|
requirements: []
|
93
93
|
|
94
94
|
rubyforge_project: emporium
|