zendesk 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/zendesk/ticket.rb +1 -1
- data/lib/zendesk/version.rb +1 -1
- metadata +3 -3
data/lib/zendesk/ticket.rb
CHANGED
@@ -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?
|
data/lib/zendesk/version.rb
CHANGED
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:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrey Deryabin
|