Class: Barker::Api::Response::CandidateJoker
- Extended by:
- Forwardable
- Defined in:
- lib/barker/api/response/candidate_joker.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#to_hash ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/barker/api/response/candidate_joker.rb', line 9 def to_hash { 'id' => id, 'joker_id' => joker_id, 'candidate_id' => candidate_id, 'used_at' => to_i(used_at) } end |