mrkt 0.5.0 → 0.6.0

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
  SHA1:
3
- metadata.gz: 1e7f61fce15d29887b4a005927f6f194cf5ab71c
4
- data.tar.gz: ec88ab8e0a07767870ac7696e0bbee9d93d21af5
3
+ metadata.gz: 5cf51cc511fdf8b5750a92ddff0f35d7dad207eb
4
+ data.tar.gz: af29cc93b972906bdc74c260bae780ac3aae713b
5
5
  SHA512:
6
- metadata.gz: 143a6acf4d42ed294a4d64d3367a6c4fdf1b783e25529500ba16007deb4e3c79024c5802f1be549537b3eed8d328ea5422adcf8d84afbad09a5280852f8fc90d
7
- data.tar.gz: 001c7bced04d32e4e7118a3db7ae21b933491ee71d86bb929538bb4223986f05b5db4acb1e4fe1567804eff37bb596623faddb95f3b2010b4398d5adfb9c6dc4
6
+ metadata.gz: eabcdb7980a68d505ca5ec8822a24554ebde7447769403fc40e4671de9395244fdefae4d3bc12f281c595c6de451856592b933f95942d7d0160ca012d1258b08
7
+ data.tar.gz: fcf10904882d7b12a0391200dd755ab51f563a426a51ce1274beefe246bf9fb5d847e35a55bc5867b396d45271fa0408da7074999aeaa89ca64c3c0b8e6df448
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mrkt (0.5.0)
4
+ mrkt (0.6.0)
5
5
  faraday_middleware (~> 0.9.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -53,7 +53,7 @@ client.debug = true
53
53
  ### Get leads matching an email, print their id and email
54
54
 
55
55
  ```ruby
56
- response = client.get_leads :email, 'sammy@acme.com'
56
+ response = client.get_leads(:email, 'sammy@acme.com')
57
57
  response[:result].each do |result|
58
58
  p "id: #{result[:id]}, email: #{result[:email]}"
59
59
  end
@@ -62,7 +62,7 @@ end
62
62
  ### Create/Update leads
63
63
 
64
64
  ```ruby
65
- response = client.createupdate_leads([ email: 'sample@example.com', firstName: 'John' ], lookup_field: :email)
65
+ response = client.createupdate_leads([{ email: 'sample@example.com', firstName: 'John' }], lookup_field: :email)
66
66
  response[:result].each do |result|
67
67
  p "id: #{result[:id]}, email: #{result[:email]}"
68
68
  end
@@ -1,6 +1,6 @@
1
1
  module Mrkt
2
2
  module ImportLeads
3
- def import_lead(file, format = 'csv', lookup_field = nil, list_id: nil, partition_name: nil)
3
+ def import_lead(file, format = 'csv', lookup_field: nil, list_id: nil, partition_name: nil)
4
4
  params = {
5
5
  format: format,
6
6
  file: Faraday::UploadIO.new(file, 'text/csv')
@@ -1,3 +1,3 @@
1
1
  module Mrkt
2
- VERSION = '0.5.0'
2
+ VERSION = '0.6.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mrkt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - KARASZI István