issue_centre 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f132de3629c640920cfc8e8555a929f90208faa
4
- data.tar.gz: d1b501cd78971e84d0b94f1a310329b79d0a2f06
3
+ metadata.gz: 830a7056a3b03c3608b9c40c60957ef57e8096dc
4
+ data.tar.gz: cf976d1a5b762e6caceeb00526ece11488323e3f
5
5
  SHA512:
6
- metadata.gz: ccb88c3ed4af9a07ae456f2be76bc2436b2e4fbeee57059a4ff6f5daef4442cffae20ed79afa0fa39e2e75b4e03b37e81945f56d229167f83b74e3b6a4dc2d92
7
- data.tar.gz: 3048e65166921a3393a75a132c6a97ce1a6786a40f35d7f14774f15fe3ed7df0bb8196d67ece91f66135adf47a539d0be6aff0cc5b8d847077bf1b118562ab3c
6
+ metadata.gz: bf512818f61e3fbb6489e18dc03741232f50e609fc905d326a1ce35549f2b9499ce2ebeeeae10ba3579ddb97397d5cec753c80c283eb0f25aa9e1f47f586f717
7
+ data.tar.gz: 19333ce58d952ca2c8703fc9b5030c297b69ca130fec74742d85772c02fbfe95132e8f7608e55185c63f869cb7539b687aeb817a580335c5f75e18c5752a159e
data/README.md CHANGED
@@ -63,6 +63,10 @@ open_tickets = ticket_conn.get_open_tickets( session_key, companies.first[:id],
63
63
  # Grab a list of closed tickets for the specified company
64
64
  closed_tickets = ticket_conn.get_closed_tickets( session_key, companies.first[:id], 100, 1)
65
65
 
66
+ # Grab a list of events for the specified ticket
67
+ events = ticket_conn.get_events_for_ticket( session_key, closed_tickets.last[:id])
68
+
69
+
66
70
  ```
67
71
 
68
72
  ## Contributing
data/issue_centre.gemspec CHANGED
@@ -36,4 +36,6 @@ Gem::Specification.new do |spec|
36
36
  spec.add_dependency "faraday"
37
37
  spec.add_dependency "savon", "~> 2.0"
38
38
  spec.add_dependency "activesupport"
39
+
40
+ spec.has_rdoc = 'yard'
39
41
  end
@@ -4,9 +4,9 @@ module IssueCentre
4
4
  # Connection client for authenticating and retrieving contracts
5
5
  # from IssueCentre
6
6
  #
7
- # @param [String] endpoint_url IssueCentre endpoint url
7
+ # @param auth_url [String] IssueCentre endpoint url
8
8
  # (e.g. {https://support.callclosed.net/issuecentre/Connection})
9
- # @param [Hash] options Other options to pass to the constructors
9
+ # @param options [Hash] Other options to pass to the constructors
10
10
  #
11
11
  # @return [AuthConnection] Instance of AuthConnection client
12
12
  #
@@ -4,7 +4,7 @@ module IssueCentre
4
4
  # Connection client for authenticating and retrieving customer
5
5
  # information from IssueCentre
6
6
  #
7
- # @param [String] endpoint_url IssueCentre endpoint url
7
+ # @param [String] customer_url IssueCentre endpoint url
8
8
  # (e.g. {https://support.callclosed.net/issuecentre/Customer})
9
9
  # @param [String] session_key SessionKey for this session
10
10
  # @param [Hash] options Other options to pass to the constructors
@@ -5,10 +5,8 @@ module IssueCentre
5
5
  # @see AuthConnection
6
6
  # @see CustomerConnection
7
7
  #
8
- # @param [String] endpoint_url IssueCentre endpoint url
8
+ # @param [String] base_url IssueCentre endpoint url
9
9
  # (e.g. {https://support.callclosed.net/issuecentre/Connection})
10
- # @param [String] username A valid IssueCentre username
11
- # @param [String] password A valid IssueCentre password
12
10
  # @param [Hash] options Other options to pass to the constructors
13
11
  #
14
12
  # @return [Connection] instance of Connection
@@ -4,7 +4,7 @@ module IssueCentre
4
4
  # Connection client for authenticating and retrieving ticket
5
5
  # information from IssueCentre
6
6
  #
7
- # @param [String] endpoint_url IssueCentre endpoint url (e.g.
7
+ # @param [String] customer_url IssueCentre endpoint url (e.g.
8
8
  # {https://support.callclosed.net/issuecentre/Customer})
9
9
  #
10
10
  # @param [String] session_key SessionKey for this session
@@ -46,7 +46,7 @@ module IssueCentre
46
46
 
47
47
  # Return (closed) tickets from IssueCentre for this contract
48
48
  #
49
- # @param [SessionKey] session SessionKey object
49
+ # @param [SessionKey] session_key SessionKey object
50
50
  #
51
51
  # @param [Integer] company_id A Company ID for the function to
52
52
  # return closed tickets for. Zero returns a list of all closed
@@ -71,9 +71,9 @@ module IssueCentre
71
71
 
72
72
  # Return all events from IssueCentre for this ticket
73
73
  #
74
- # @param [String] session SessionKey object
74
+ # @param [String] session_key SessionKey object
75
75
  #
76
- # @param [Integer] ticket Ticket ID for the required ticket
76
+ # @param [Integer] ticket_id Ticket ID for the required ticket
77
77
  #
78
78
  # @return [Array] An array of events and details as hashes
79
79
  #
@@ -1,3 +1,3 @@
1
1
  module IssueCentre
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: issue_centre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Holloway