magento 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fef777d99770e8377c1a13bec28eafd1b75768ea5a16e0c819c704f35da6bd54
4
- data.tar.gz: 8598bd0e18b6b2a86dd10dd7f9b28cce14338bc776943d28a4b8ac23da76aa28
3
+ metadata.gz: 450a1aaf20e266f101c4a2a0ef107f7d387fe8ae027d9e0751c067831292c078
4
+ data.tar.gz: f9700bb931f9128db95c5b3dca904542877512de782e7d50eafd9edf66d9f484
5
5
  SHA512:
6
- metadata.gz: 71e8b86fb744f49d1fb9f3899ebe4235b257d54b11231eca25be7368be082120245c279653557be2e0715b4ab4afd1ad5d36afea4685792492299bd4116f7ca1
7
- data.tar.gz: 045f97e42203bbe2ebc051472e4aae3c741b1ac160cc590cbbf421c66c3ff27ccc193294ff252f63d5cae205e78c13b99030bf085f87389fb9056ddfa60b856c
6
+ metadata.gz: 91a4c5bf18c518c9604195363204955eeb8ede7e78c3c803ecf74db06e0bacd66fe04a99c34e09ceda21739e06e6780fc8da4d59ed0b97a8992ff2827260c34f
7
+ data.tar.gz: c9d725e344e94ed1874b0ded891a97f59544aa27a54995a9bead0d64ca3c7cac7fa8f2f1ccee98b7ebda0d75538d1e9589f961cda459229740d0116a15116b19
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  ## Install
4
4
 
5
5
  ```rb
6
- gem 'magento', '~> 0.0.1'
6
+ gem 'magento', '~> 0.0.2'
7
7
  ```
8
8
 
9
9
  or
@@ -24,7 +24,7 @@ Magento.token = 'MAGENTO_API_KEY'
24
24
  ### Get product details by sku
25
25
 
26
26
  ```rb
27
- Magento::Product.find_by_sky('sku-test')
27
+ Magento::Product.find_by_sku('sku-test')
28
28
  ```
29
29
 
30
30
  # TODO
@@ -1,7 +1,7 @@
1
1
  module Magento
2
2
  class Product < Model
3
3
  class << self
4
- def find_by_sky(sku)
4
+ def find_by_sku(sku)
5
5
  product_hash = Request.get("products/#{sku}").parse
6
6
  mapHash Product, product_hash
7
7
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'magento'
5
- s.version = '0.0.2'
5
+ s.version = '0.0.3'
6
6
  s.date = '2020-07-31'
7
7
  s.summary = 'Magento Ruby library'
8
8
  s.description = 'Magento Ruby library'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magento
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Quaranto