zendesk_api 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- zendesk_api (1.0.3)
10
+ zendesk_api (1.0.4)
11
11
  faraday (>= 0.8.0)
12
12
  faraday_middleware (>= 0.8.7)
13
13
  hashie (>= 1.2)
@@ -472,4 +472,9 @@ module ZendeskAPI
472
472
  namespace "channels/voice"
473
473
  end
474
474
  end
475
+
476
+ class TicketForm < Resource
477
+ # TODO
478
+ # post :clone
479
+ end
475
480
  end
@@ -1,3 +1,3 @@
1
1
  module ZendeskAPI
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -0,0 +1,14 @@
1
+ require 'core/spec_helper'
2
+
3
+ describe ZendeskAPI::TicketForm, :delete_after do
4
+ def valid_attributes
5
+ { :name => "Ticket Form-o", :position => 9999 }
6
+ end
7
+
8
+ it_should_be_creatable
9
+ it_should_be_updatable :name
10
+ it_should_be_deletable
11
+ it_should_be_readable :ticket_forms
12
+
13
+ # TODO: clone
14
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-09-03 00:00:00.000000000 Z
13
+ date: 2013-09-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bump
@@ -504,6 +504,7 @@ files:
504
504
  - spec/live/tag_spec.rb
505
505
  - spec/live/target_spec.rb
506
506
  - spec/live/ticket_field_spec.rb
507
+ - spec/live/ticket_form_spec.rb
507
508
  - spec/live/ticket_metrics_spec.rb
508
509
  - spec/live/ticket_spec.rb
509
510
  - spec/live/topic_comment_spec.rb
@@ -612,6 +613,7 @@ test_files:
612
613
  - spec/live/tag_spec.rb
613
614
  - spec/live/target_spec.rb
614
615
  - spec/live/ticket_field_spec.rb
616
+ - spec/live/ticket_form_spec.rb
615
617
  - spec/live/ticket_metrics_spec.rb
616
618
  - spec/live/ticket_spec.rb
617
619
  - spec/live/topic_comment_spec.rb