pswincom 0.1.4 → 0.1.5
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.
- data/README.md +1 -0
- data/lib/pswincom/request.rb +1 -0
- metadata +4 -4
data/README.md
CHANGED
@@ -40,6 +40,7 @@ Properties currently supported are:
|
|
40
40
|
* :sender
|
41
41
|
* :TTL - time to live in minutes
|
42
42
|
* :deliverytime - a Time object specifying when to send the message
|
43
|
+
* :tariff - the amount (in local currency as cents/"ører") to charge the receiver
|
43
44
|
|
44
45
|
Specifying Host
|
45
46
|
---------------
|
data/lib/pswincom/request.rb
CHANGED
@@ -29,6 +29,7 @@ module PSWinCom
|
|
29
29
|
m.RCV args[:receiver]
|
30
30
|
m.SND args[:sender] if args[:sender]
|
31
31
|
m.TTL args[:TTL] if args[:TTL]
|
32
|
+
m.TARIFF args[:tariff] if args[:tariff]
|
32
33
|
m.DELIVERYTIME args[:deliverytime].strftime(TIME_FORMAT) if args.include? :deliverytime
|
33
34
|
end
|
34
35
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pswincom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- PSWinCom AS
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-03-29 00:00:00 +02:00
|
19
19
|
default_executable: sms
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|