pswincom 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +2 -1
  2. data/lib/pswincom/request.rb +1 -0
  3. metadata +4 -4
data/README.md CHANGED
@@ -41,7 +41,8 @@ Properties currently supported are:
41
41
  * :TTL - time to live in minutes
42
42
  * :deliverytime - a Time object specifying when to send the message
43
43
  * :tariff - the amount (in local currency as cents/"ører") to charge the receiver
44
- * :servicecode - ServiceCode for sending GAS messages. Requires that :tariff is set
44
+ * :servicecode - ServiceCode for sending GAS messages. Requires that :tariff is set. See [wiki](http://wiki.pswin.com/CPA-Goods-and-Services.ashx) for details.
45
+ * :rcpreq - Set to true to indicate that a delivery report forward is desired for this message. See [wiki](http://wiki.pswin.com/Receive%20delivery%20report%20request%20XML.ashx) for details.
45
46
 
46
47
  Specifying Host
47
48
  ---------------
@@ -37,6 +37,7 @@ module PSWinCom
37
37
  m.TTL args[:TTL] if args[:TTL]
38
38
  m.TARIFF args[:tariff] if args[:tariff]
39
39
  m.SERVICECODE args[:servicecode] if args[:servicecode]
40
+ m.RCPREQ 'Y' if args[:rcpreq] == true
40
41
  m.DELIVERYTIME args[:deliverytime].strftime(TIME_FORMAT) if args.include? :deliverytime
41
42
  end
42
43
  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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 6
10
- version: 0.1.6
9
+ - 7
10
+ version: 0.1.7
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-04-30 00:00:00 +02:00
18
+ date: 2011-05-06 00:00:00 +02:00
19
19
  default_executable: sms
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency