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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f115ae7cf783ef0318c7e84b1d381c5b89380113
4
- data.tar.gz: 0da7bf7139f8558fa48e0750afd19bd2cbd827c2
3
+ metadata.gz: c25f2e636f19952fd8d70aefe27ebbdbe21b0b46
4
+ data.tar.gz: ffc8ddf8673804ef89e815200bb64d45bed6b0e6
5
5
  SHA512:
6
- metadata.gz: 87a72db89bf171569a9fbdf8f75db20ab691353479a908aa2aff2053e9f3a0fa297fc64210e748804637e5c3a441ea15ecdb7af326275fae301129f590829142
7
- data.tar.gz: 99c8186b12ddd237232b3ca566f005949733d74735d37ba08a94eb17c363c2e937a20f317c2d073daa507037c3f241b11296847a38bb3a99231ebee4fa85bf70
6
+ metadata.gz: c1b01d535de6ef025e3f44ee53da743f033a883b91cbc2fe375d5057ca6fbef09357d9a28194809ee97c9b39d37703df719f2d8e60b9d10473df4f1995a1c590
7
+ data.tar.gz: 4348a72db2fd44c43ae5528bf329803486c50ba216c37ff4e7562ddea4c1121abb46f6c90470d38eec0b83054a2c707e22e7dcfcc42120aa14faa8f2cc4f3068
@@ -21,7 +21,7 @@ GEM
21
21
  nokogiri (~> 1.6.3)
22
22
  oauth2
23
23
  hashie (3.4.0)
24
- highline (1.7.0)
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
- jwt (1.2.1)
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.10.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.1)
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.4)
71
- thread_safe (0.3.4-java)
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
1
+ 0.0.2
@@ -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.1 ruby lib
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.1"
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-02-24"
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 = [
@@ -21,7 +21,7 @@ module Eventbrite
21
21
  end
22
22
 
23
23
  def find(id)
24
- self.get(opts, id)
24
+ self.get({}, id)
25
25
  end
26
26
 
27
27
  def create(object, opts={})
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.1
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-02-24 00:00:00.000000000 Z
11
+ date: 2015-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2