Class: Barker::Api::Response::Joker

Inherits:
Base
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/barker/api/response/joker.rb

Instance Method Summary collapse

Methods inherited from Base

#error?, #ok?

Instance Method Details

#to_hashObject



9
10
11
12
13
14
# File 'lib/barker/api/response/joker.rb', line 9

def to_hash
  {
    'id' => id,
    'joker_id' => joker_id
  }
end