sendcloud_client 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
  SHA1:
3
- metadata.gz: 991c411e2376033d69e754eb9a29d4469c8034c8
4
- data.tar.gz: 914a35a5d83cf275f6a9d9e52862ced66a8546e8
3
+ metadata.gz: 2307801894317939b134b9e1faf5bd68ba76dc3a
4
+ data.tar.gz: 572f9dee362978a40cf30af2df8544c7ce0e48f6
5
5
  SHA512:
6
- metadata.gz: 8eddc8718f9cb4766c50bbeab913b4f58a646b02fa1dffe8d33f649f3701f553ff04eb33e0d493c803937f88807c6b349c5b4ca6ad2801b77c0fd4b4e6aa5b31
7
- data.tar.gz: f1100ac4e305cc67a6270765ac49231934dbb3e6d219351b4305c72228b128ae0e55780e74347479b8cb4a84966e04e9528875e273b4ff720959f3c0369301a0
6
+ metadata.gz: e81f566ce70b8d432bae84a49f0b10019c6623c38e042e863cda0ee46839e182abb873d3730de1b6f30459eb253f98ece83731c8a1fd7d42ecac74304d7d36cb
7
+ data.tar.gz: d63c7590ff46015b1b876bea7d98865b3dcd7f873c55c42996dc4c67a94d3471e11a40521c39ff75be3af577d8db8fd99098c6a6df3ddae284b4e7c87f331fa4
@@ -17,8 +17,8 @@ module SendcloudClient
17
17
  return if options[:to].length == 0
18
18
  uri = "#{API_BASE}/mail/send"
19
19
  res = RestClient.post uri, apiUser: SendcloudClient.api_user,
20
- apiKey: SendcloudClient.api_key, to: options[:to], from: options[:from], fromName: options[fromName:],
21
- subject: options[subject:], html: options[html:]
20
+ apiKey: SendcloudClient.api_key, to: options[:to], from: options[:from], fromName: options[:fromName],
21
+ subject: options[:subject], html: options[:html]
22
22
 
23
23
  JSON.parse(res) rescue nil
24
24
  end
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'sendcloud_client'
7
- spec.version = '0.0.2'
7
+ spec.version = '0.0.3'
8
8
  spec.authors = ['Alvin Ye']
9
9
  spec.email = ['alvin.ye.cn@gmail.com']
10
10
  spec.description = %q{ruby client for sohu sendcloud api v2}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendcloud_client
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
  - Alvin Ye