Class: Character

Inherits:
Object
  • Object
show all
Includes:
EsiCharacterApi, MongoidSetup
Defined in:
lib/generators/rails_eve/install/templates/character.rb

Instance Method Summary collapse

Methods included from EsiCharacterApi

#api_client, #authorization_header, #current_access_token, #refresh_token!, #refresh_token_body, #refresh_token_headers, #refresh_token_request, #update_tokens, #wallet_api

Instance Method Details

#create_corporationObject



17
18
19
# File 'lib/generators/rails_eve/install/templates/character.rb', line 17

def create_corporation
  Corporation.create_from_api(corporation_id)
end

#wallet_journalObject



21
22
23
# File 'lib/generators/rails_eve/install/templates/character.rb', line 21

def wallet_journal
  wallet_api.get_characters_character_id_wallet_journal(id)
end