centaman 0.1.6 → 0.1.7
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 +4 -4
- data/README.md +2 -4
- data/lib/centaman/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e3672f086e6b9ee67eea0f498ad4654907c88faf
|
|
4
|
+
data.tar.gz: 5c129c2de7b3441de7a7bed0594cb612d0d02f2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f6e927c74cc125edd76886d139034d8b90b60bca3443444119f0092d853ff820e83929c41650cbabb610b5531166f51a80d0263a3601e4ca98779a312dfb0a6
|
|
7
|
+
data.tar.gz: 72904e6f2583ed1029486e5901011387235f470650cb01b647c3dd5a56fcaeb30b6608de16420f122146da67cd9831eaaf2b99e63b263bdc6ab8a57a5ca799a9
|
data/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
A wrapper for the Centaman Ticketing API.
|
|
4
4
|
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
6
|
-
|
|
7
5
|
## Installation
|
|
8
6
|
|
|
9
7
|
Add this line to your application's Gemfile:
|
|
@@ -22,7 +20,7 @@ Or install it yourself as:
|
|
|
22
20
|
|
|
23
21
|
## Usage
|
|
24
22
|
|
|
25
|
-
Retrieve Booking Type Objects
|
|
23
|
+
Retrieve Booking Type Objects
|
|
26
24
|
- Defaults to current date if no date parameters given
|
|
27
25
|
```ruby
|
|
28
26
|
Centaman::Service::BookingType.new(start_date: DATE, end_date: DATE).objects
|
|
@@ -35,7 +33,7 @@ Find a Booking Type
|
|
|
35
33
|
```
|
|
36
34
|
|
|
37
35
|
Retrieve Booking Time Objects for a Booking Type
|
|
38
|
-
-
|
|
36
|
+
- booking_type_id (integer) required to retrieve booking times for a specific booking type, else returns all booking times for all booking types
|
|
39
37
|
- start_date && end_date required to retrieve booking times for a specific date, else defaults to current date
|
|
40
38
|
```ruby
|
|
41
39
|
Centaman::Service::BookingTime.new(booking_type_id: BOOKING_TYPE_ID, start_date: DATE, end_date: DATE).objects
|
data/lib/centaman/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: centaman
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- francirp
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-08-
|
|
12
|
+
date: 2017-08-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|