zohoho 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ module Zohoho
22
22
  end
23
23
 
24
24
  def ticket
25
- Regexp.last_match(1) if self.class.post(ticket_url).parsed_response =~ /TICKET=(\w+)/
25
+ Regexp.last_match(1) if self.class.get(ticket_url).parsed_response =~ /TICKET=(\w+)/
26
26
  end
27
27
 
28
28
  def call(entry, api_method, query = {}, http_method = :get)
@@ -36,7 +36,7 @@ module Zohoho
36
36
  @hash = {}
37
37
  candidate["FL"].collect do |pair|
38
38
  pair = pair.to_a
39
- @hash[pair.last.last] = pair.first.last
39
+ @hash[pair.last.last.to_s] = pair.first.last
40
40
  end
41
41
  @hash
42
42
  end
data/zohoho.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{zohoho}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["KentonWhite", "Elland"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: zohoho
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.3
5
+ version: 0.2.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - KentonWhite