twilio_recordings 0.0.4 → 0.0.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/twilio_recordings.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a78220232e76251d04b540f7000e5bc092fdf896
4
- data.tar.gz: a61d0951a32abe299a3550b94334cb4afba391e2
3
+ metadata.gz: 822e03dedbf85fe3bfc9d30be868895d3f3bfe43
4
+ data.tar.gz: 83da5c098784f631c33d40bacebdecbc319d9c66
5
5
  SHA512:
6
- metadata.gz: af850777b8822bcf5fef714c518bb031bbdc6e289d2aa49a26608d19c250d0623a1faab6d4b1d58586227adbf7e9fc00310b31e7f964267a606bb4e328949d3a
7
- data.tar.gz: a5477085ddf0e8f5eed94f08fa2e5db9d2ac84cd418f5741c48fa8a9596ed33e5a24b6cce7120c85299b13123dfd047d5369197cf79b609d52a29feac5e5284e
6
+ metadata.gz: 8254cd84d72bb5a7dd01b7455a98846eda2d16c84d20fd9864d81343905c809ac04a3a80c4ed379288d4a3f1157c69bd36d95ff42408ca13f55af2fb066384bd
7
+ data.tar.gz: 4cfcae2ae82857cf1bb7d62b5cd86de93830d646cdbce689d9252feea9f9d420624c87dd926db142d7606d9067c27f83ba2ef8d5e44a1d57d5501e318f99a6d1
@@ -15,10 +15,10 @@ class TwilioRecordings
15
15
  # account_sid: The Twilio account SID, e.g. "AC12345678901234567890123456789012"
16
16
  # recording_sids: An array of recording SIDs, e.g. ["RE12345678901234567890123456789012"]
17
17
  # tmp_dir: The directory that the recordings will be temporarily downloaded to. (optional, default is '/tmp')
18
- def initialize(account_sid, recording_sids, tmp_dir: File.join('','tmp'))
18
+ def initialize(account_sid, recording_sids, options={})
19
19
  @account_sid = account_sid
20
20
  @recording_sids = recording_sids
21
- @tmp_dir = tmp_dir
21
+ @tmp_dir = options[:tmp_dir] || File.join('','tmp')
22
22
  @recording_downloads = {}
23
23
  end
24
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilio_recordings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Boxley