Permalink
Browse files

Renamed Cube.new_event to Cube.get_event

  • Loading branch information...
tsileo committed Oct 1, 2013
1 parent 49364f5 commit b8d390d9882ebc302f6618cccce29e0edeccc57d
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.rst
  2. +1 −1 cube/__init__.py
View
@@ -127,7 +127,7 @@ Event helper
cube = Cube()
- my_event = cube.new_event('myevent')
+ my_event = cube.get_event('myevent')
# or
my_event = Event(cube, 'myevent')
View
@@ -94,5 +94,5 @@ def types(self):
r.raise_for_status()
return r.json()
- def new_event(self, event_type):
+ def get_event(self, event_type):
return Event(self, event_type)

0 comments on commit b8d390d

Please sign in to comment.