SimpleEventickApi
Everything is faster when it is simple!
This gem provider simple way to consummig eventick api
Install
Add this line to your application's Gemfile:
gem 'simple_eventick_api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install simple_eventick_api
Usage
Get token
@token = SimpleEventickApi::Auth.authenticate 'email', 'password'
Get events of a user by token
@events = SimpleEventickApi::Event.all token
Get attendees of a event
#for getting all atendees without restrictions
@atendees = SimpleEventickApi::Atendee.all token, event_id
or
#for getting only attendees that checkin after this date
@atendees = SimpleEventickApi::Atendee.all token, event_id, check_at
Find an especific atendee
@atendee = SimpleEventickApi::Atendee.find token, event_id, id
Check-in an atendee
@atendee = SimpleEventickApi::Atendee.check_in token, event_id, code, checked_at
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request