portatext 1.0.0 → 1.1.0

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
  SHA1:
3
- metadata.gz: 2bfc8af5165e8e8eb56ff9b04c906eaeab8abb3a
4
- data.tar.gz: 67d49cc2da1d02703a7c234eb8ee2f96f3fbd44e
3
+ metadata.gz: 0661f1e3395426b8489b33618df49c4c8716c3e5
4
+ data.tar.gz: fd06cc0d25f63299ce7b3b27653e17e73b390c29
5
5
  SHA512:
6
- metadata.gz: c944e4b92cc98d2465d09b8d1abc23ec8886384e1462f3d81dc3ba7facf5019cfd881d0ddd23a944cf2868292bd0797f0497c9a39c632b0195cddb936af870d0
7
- data.tar.gz: 2a5e370100221ff022f10cd69c49d4b5301c79ca7f1e2ed7a30c605fb4b3034ab1e659d8736aa5b9244c1b1fec6bb35f575b097ccf74c2e4ba945c98330b107e
6
+ metadata.gz: e10a66cab30f916858fe5a7e9f513f1ebfd235b8cea3e26afd037039ece1254735e02922e3b3f0ab056dd9a9fbb92feda276c6fb781cd362726ca00e2cf3ec19
7
+ data.tar.gz: 7529c36d6774f8735418eb72215c2af0f4ee0d63d0f55967d6f0df020a0a549fa66fa4e0051132f9bd9b1a58a7626ddf445e334db041c5bb85fb5db5341af241
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  [![License](http://img.shields.io/badge/license-APACHE2-blue.svg)](http://img.shields.io/badge/license-APACHE2-blue.svg)
2
2
  [![Gem Version](https://badge.fury.io/rb/portatext.svg)](https://badge.fury.io/rb/portatext)
3
- [![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](http://www.rubydoc.info/gems/portatext)
3
+ [![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](http://www.rubydoc.info/github/portatext/ruby-sdk/1.1.0)
4
4
 
5
5
  [![Build Status](https://travis-ci.org/PortaText/ruby-sdk.svg)](https://travis-ci.org/PortaText/ruby-sdk)
6
6
  [![Coverage Status](https://coveralls.io/repos/PortaText/ruby-sdk/badge.svg?branch=master&service=github)](https://coveralls.io/github/PortaText/ruby-sdk?branch=master)
@@ -12,8 +12,7 @@ module PortaText
12
12
  set :card_id, card_id
13
13
  end
14
14
 
15
- def total(plan_id, total)
16
- set :plan_id, plan_id
15
+ def total(total)
17
16
  set :total, total
18
17
  end
19
18
 
@@ -24,9 +24,8 @@ module PortaText
24
24
  set :email_on_inbound_sms, email
25
25
  end
26
26
 
27
- def enable_autorecharges(when_credit, card_id, plan_id, total)
27
+ def enable_autorecharges(when_credit, card_id, total)
28
28
  set :autorecharge_enabled, true
29
- set :autorecharge_plan_id, plan_id
30
29
  set :autorecharge_card_id, card_id
31
30
  set :autorecharge_total, total
32
31
  set :autorecharge_when_credit, when_credit
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'portatext'
3
- s.version = '1.0.0'
3
+ s.version = '1.1.0'
4
4
  s.summary = 'Official PortaText API ruby client'
5
5
  s.description = 'This is the official PortaText API ruby client'
6
6
  s.authors = ['PortaText']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: portatext
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PortaText
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-15 00:00:00.000000000 Z
11
+ date: 2015-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov