zendesk 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -63,7 +63,7 @@ class Zendesk::Ticket < Zendesk::Resource
63
63
  ticket_field_entries = []
64
64
  @field_ids.each_pair do |key, value|
65
65
  if val = instance_variable_get(:"@#{key.to_s}")
66
- ticket_field_entries << { :ticket_field_id => value, :value => val.to_s }
66
+ ticket_field_entries << { :ticket_field_entry => { :ticket_field_id => value, :value => val.to_s } }
67
67
  end
68
68
  end
69
69
  result[:ticket_field_entries] = ticket_field_entries unless ticket_field_entries.empty?
@@ -1,3 +1,3 @@
1
1
  module Zendesk
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrey Deryabin