Sha256: 57599948568431052d3c764196f9505c0da08fde6c6c4246e9fb1d0535954cd8
Contents?: true
Size: 743 Bytes
Versions: 1
Compression:
Stored size: 743 Bytes
Contents
require 'forwardable' module EveOnline module ESI class CharacterFatigue < Base extend Forwardable API_ENDPOINT = 'https://esi.tech.ccp.is/v1/characters/%<character_id>s/fatigue/?datasource=tranquility'.freeze attr_reader :character_id def initialize(options) super @character_id = options[:character_id] end def_delegators :model, :as_json, :jump_fatigue_expire_date, :last_jump_date, :last_update_date def model Models::Fatigue.new(response) end memoize :model def scope 'esi-characters.read_fatigue.v1' end def url format(API_ENDPOINT, character_id: character_id) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.14.0 | lib/eve_online/esi/character_fatigue.rb |