eventbrite-api 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -6
- data/README.md +17 -0
- data/VERSION +1 -1
- data/eventbrite-api.gemspec +3 -3
- data/lib/eventbrite/api/model/base.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: c25f2e636f19952fd8d70aefe27ebbdbe21b0b46
|
4
|
+
data.tar.gz: ffc8ddf8673804ef89e815200bb64d45bed6b0e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1b01d535de6ef025e3f44ee53da743f033a883b91cbc2fe375d5057ca6fbef09357d9a28194809ee97c9b39d37703df719f2d8e60b9d10473df4f1995a1c590
|
7
|
+
data.tar.gz: 4348a72db2fd44c43ae5528bf329803486c50ba216c37ff4e7562ddea4c1121abb46f6c90470d38eec0b83054a2c707e22e7dcfcc42120aa14faa8f2cc4f3068
|
data/Gemfile.lock
CHANGED
@@ -21,7 +21,7 @@ GEM
|
|
21
21
|
nokogiri (~> 1.6.3)
|
22
22
|
oauth2
|
23
23
|
hashie (3.4.0)
|
24
|
-
highline (1.7.
|
24
|
+
highline (1.7.1)
|
25
25
|
jeweler (2.0.1)
|
26
26
|
builder
|
27
27
|
bundler (>= 1.0)
|
@@ -31,9 +31,11 @@ GEM
|
|
31
31
|
nokogiri (>= 1.5.10)
|
32
32
|
rake
|
33
33
|
rdoc
|
34
|
-
|
34
|
+
json (1.8.2)
|
35
|
+
json (1.8.2-java)
|
36
|
+
jwt (1.4.1)
|
35
37
|
mini_portile (0.6.2)
|
36
|
-
multi_json (1.
|
38
|
+
multi_json (1.11.0)
|
37
39
|
multi_xml (0.5.5)
|
38
40
|
multipart-post (2.0.0)
|
39
41
|
nokogiri (1.6.6.2)
|
@@ -48,11 +50,12 @@ GEM
|
|
48
50
|
rack (1.6.0)
|
49
51
|
rake (10.4.2)
|
50
52
|
rdoc (4.2.0)
|
53
|
+
json (~> 1.4)
|
51
54
|
rspec (3.2.0)
|
52
55
|
rspec-core (~> 3.2.0)
|
53
56
|
rspec-expectations (~> 3.2.0)
|
54
57
|
rspec-mocks (~> 3.2.0)
|
55
|
-
rspec-core (3.2.
|
58
|
+
rspec-core (3.2.2)
|
56
59
|
rspec-support (~> 3.2.0)
|
57
60
|
rspec-expectations (3.2.0)
|
58
61
|
diff-lcs (>= 1.2.0, < 2.0)
|
@@ -67,8 +70,8 @@ GEM
|
|
67
70
|
multi_json (~> 1.0)
|
68
71
|
simplecov-html (~> 0.9.0)
|
69
72
|
simplecov-html (0.9.0)
|
70
|
-
thread_safe (0.3.
|
71
|
-
thread_safe (0.3.
|
73
|
+
thread_safe (0.3.5)
|
74
|
+
thread_safe (0.3.5-java)
|
72
75
|
timecop (0.7.3)
|
73
76
|
webmock (1.20.4)
|
74
77
|
addressable (>= 2.3.6)
|
data/README.md
CHANGED
@@ -130,12 +130,29 @@ Search events
|
|
130
130
|
filtered_events = api_client.event.search({params: {q: 'sandwich'}})
|
131
131
|
```
|
132
132
|
|
133
|
+
Create event
|
134
|
+
```ruby
|
135
|
+
event = api_client.event.create({'name' => 'My Event', ...})
|
136
|
+
```
|
137
|
+
|
133
138
|
Publish/Unpublish events
|
134
139
|
```ruby
|
135
140
|
response = api_client.event.publish('13270934723')
|
136
141
|
response = api_client.event.unpublish('13270934723')
|
137
142
|
```
|
138
143
|
|
144
|
+
#### Event ticket class
|
145
|
+
|
146
|
+
Create an event ticket class for event '123'
|
147
|
+
```ruby
|
148
|
+
event = api_client.event_ticket_class.create({'name' => 'My Ticket', ...}, {event_id: '123'})
|
149
|
+
```
|
150
|
+
|
151
|
+
Update event ticket class '456' for event '123'
|
152
|
+
```ruby
|
153
|
+
event = api_client.event_ticket_class.update('456', {'name' => 'My Ticket', ...}, {event_id: '123'})
|
154
|
+
```
|
155
|
+
|
139
156
|
#### Owned Events
|
140
157
|
|
141
158
|
User owned events
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/eventbrite-api.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: eventbrite-api 0.0.
|
5
|
+
# stub: eventbrite-api 0.0.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "eventbrite-api"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["BrunoChauvet"]
|
14
|
-
s.date = "2015-
|
14
|
+
s.date = "2015-03-24"
|
15
15
|
s.description = "Integrate with Eventbrite API"
|
16
16
|
s.email = "it@maestrano.com"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eventbrite-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BrunoChauvet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|