bespokify 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed6d14ff8d4dddd7c57c14a4ad1c4e37eb8531fe91fda87ae3025fec73d52340
4
- data.tar.gz: aa285fd0cf39ab2ddd29d72dafb0828d970812164b22dababaf9b15d92fa797d
3
+ metadata.gz: 2e295aeae030d1c0fd7a17241922c8e4ab77d7f5348de41a2278ac7c9b0a5ea3
4
+ data.tar.gz: 55ac1004a50b681aad0b9892777314b782500b3771ba6a58fa981e5de4403d5e
5
5
  SHA512:
6
- metadata.gz: 7e8092824458645739739d29cea5094dce7adb025498218ad72110f409ef782e829e816ccfea54ba27d9318a4f04d857c54cbc905ec74a83d04f98f47ec7fa19
7
- data.tar.gz: ec7f960d76ebffebf27919a2e76f09f9fd3c905afe07d3340bdcb4285fb71eef96216a58131da8fc77166a374b63850632c066dc29241406bb233723f2409a61
6
+ metadata.gz: 741d06b977ee9492e8a8d37c3102c66a4f7b0474733d17d493ecf329dac68fac28d655e5082ec027c05bca36c3882deb54105dcdf0d7e19e5fe133434db02a91
7
+ data.tar.gz: ff90104f5675abb8e2ee3ad44ef3d98c33a06c9b9e837c5c1e29caa8f87595fcb01d4f5725d0a97488f95a272436d98da4de0c7b3a42f8df98376ea770eab474
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bespokify (0.1.2)
4
+ bespokify (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -5,6 +5,7 @@ require 'bespokify/client/pattern'
5
5
  require 'bespokify/client/prediction'
6
6
  require 'bespokify/client/export'
7
7
  require 'bespokify/client/measurement_profile'
8
+ require 'bespokify/client/export_profile'
8
9
 
9
10
  module Bespokify
10
11
  class Client
@@ -16,6 +17,7 @@ module Bespokify
16
17
  include Bespokify::Client::Prediction
17
18
  include Bespokify::Client::Export
18
19
  include Bespokify::Client::MeasurementProfile
20
+ include Bespokify::Client::ExportProfile
19
21
  base_uri 'https://api.bespokify.com/v2'
20
22
 
21
23
  def initialize(login, password)
@@ -0,0 +1,25 @@
1
+ module Bespokify
2
+ class Client
3
+ module ExportProfile
4
+ def export_profiles(options = {})
5
+ get('/exportProfiles', options)
6
+ end
7
+
8
+ def export_profile(export_profile_id)
9
+ get("/exportProfiles/#{export_profile_id}")
10
+ end
11
+
12
+ def create_export_profile(options = {})
13
+ post('/exportProfiles', options)
14
+ end
15
+
16
+ def update_export_profile(export_profile_id, options = {})
17
+ patch("/exportProfiles/#{export_profile_id}", options)
18
+ end
19
+
20
+ def delete_export_profile(export_profile_id)
21
+ delete("/exportProfiles/#{export_profile_id}")
22
+ end
23
+ end
24
+ end
25
+ end
@@ -1,3 +1,3 @@
1
1
  module Bespokify
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bespokify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ED1FF
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-29 00:00:00.000000000 Z
11
+ date: 2019-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -76,6 +76,7 @@ files:
76
76
  - lib/bespokify/client/connection.rb
77
77
  - lib/bespokify/client/draft.rb
78
78
  - lib/bespokify/client/export.rb
79
+ - lib/bespokify/client/export_profile.rb
79
80
  - lib/bespokify/client/material.rb
80
81
  - lib/bespokify/client/measurement_profile.rb
81
82
  - lib/bespokify/client/pattern.rb