speaker_text 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/speaker_text.rb +4 -4
  2. metadata +1 -1
data/lib/speaker_text.rb CHANGED
@@ -5,7 +5,7 @@ require 'json'
5
5
  class SpeakerText
6
6
  include HTTParty
7
7
  base_uri "https://api.speakertext.com/v1"
8
- VERSION = '1.0.1'
8
+ VERSION = '1.0.2'
9
9
 
10
10
  def initialize(api_key)
11
11
  self.class.basic_auth api_key,'x'
@@ -109,17 +109,17 @@ class SpeakerText
109
109
  end
110
110
 
111
111
  def fetch_xml_transcript(args)
112
- args.merge(format: 'xml')
112
+ args.merge!(format: 'xml')
113
113
  transcript(args)
114
114
  end
115
115
 
116
116
  def fetch_text_transcript(args)
117
- args.merge(format: 'txt')
117
+ args.merge!(format: 'txt')
118
118
  transcript(args)
119
119
  end
120
120
 
121
121
  def fetch_html_transcript(args)
122
- args.merge(format: 'html')
122
+ args.merge!(format: 'html')
123
123
  transcript(args)
124
124
  end
125
125
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: speaker_text
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.1
5
+ version: 1.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Derrick Parkhurst