mints 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pub.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ade2308c58baa5c1b9ec010767f715069af50a2204820c3df6d4cb31231ad9de
4
- data.tar.gz: 9a4ad29bac5f2a290e7c248619f2994dda26bff74686ee851e5cabd6ba321d6c
3
+ metadata.gz: 57e9b1a288e9458592721e05c9f5ffcd4a54162f9d89624260eca3c0a881c8c9
4
+ data.tar.gz: 9e95bc1ae4b48b2d819fd418446a0feae7a621c0fff47fc51504d8d2c827cf19
5
5
  SHA512:
6
- metadata.gz: 345e8d6efdc4c0f114adb3a3f1a0840050d5b447a38d07acf13a0d49a1c839a8cb33d6bbec95fd52f23b490b06947c672650830d0d62f18f3892fccc1d0978d5
7
- data.tar.gz: 6b8e8682b9c64126399f105ee562103d95ebd14b6484b3b40a59bcda2c84cff710188514ad83363e8778fa476fba149469a76a16c38a3396b2bb25e16a6a616f
6
+ metadata.gz: 2404e77a1f9f9dc8bd763c45ca9bbda31182768e41bb18edb9c69ec1a5087591cf85c14ca37379dff0c56437b4de035ae4feabc083e082a2174c28667cc49ea7
7
+ data.tar.gz: 8e075f031ecdf7244dc36ed230152b185a549724a8a151de4507d55ddf30736f5719cb50637a9236b41d5e8a9f42d982fc071ab171b6899dd2b6adc4eb9cde15
data/lib/pub.rb CHANGED
@@ -42,8 +42,8 @@ module Mints
42
42
  # * +contact_token+ - [String] Cookie 'mints_contact_id' value (mints_contact_token)
43
43
  # ==== Return
44
44
  # Returns a Client object
45
- def initialize(host, api_key, contact_token = nil, debug = false)
46
- @client = Mints::Client.new(host, api_key, contact_token, debug)
45
+ def initialize(host, api_key, contact_token = nil, debug = false)
46
+ @client = Mints::Client.new(host, api_key, 'public', contact_token, debug)
47
47
  end
48
48
 
49
49
  ##
@@ -178,7 +178,7 @@ module Mints
178
178
  # ==== Parameters
179
179
  # * +data+ - [Hash] Data to be submited
180
180
  def submit_form(data)
181
- return @client.raw("post", "/forms/store", nil, data)
181
+ return @client.raw("post", "/content/forms/submit", nil, data)
182
182
  end
183
183
 
184
184
  ##
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mints
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Gomez Garcia, Omar Mora, Luis Payan