Sha256: 5a2589c3add8713befbe34b40040c235cb5e1b468d0f3d75bc57b1b722a74964
Contents?: true
Size: 1.09 KB
Versions: 3
Compression:
Stored size: 1.09 KB
Contents
# frozen_string_literal: true require 'forwardable' module EveOnline module ESI class DogmaEffect < Base extend Forwardable API_ENDPOINT = 'https://esi.evetech.net/v2/dogma/effects/%<effect_id>s/?datasource=%<datasource>s' attr_reader :id def initialize(options) super @id = options.fetch(:id) end def_delegators :model, :as_json, :description, :disallow_auto_repeat, :discharge_attribute_id, :display_name, :duration_attribute_id, :effect_category, :effect_id, :electronic_chance, :falloff_attribute_id, :icon_id, :is_assistance, :is_offensive, :is_warp_safe, :name, :post_expression, :pre_expression, :published, :range_attribute_id, :range_chance, :tracking_speed_attribute_id, :modifiers def model @model ||= Models::DogmaEffect.new(response) end def scope; end def url format(API_ENDPOINT, effect_id: id, datasource: datasource) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.23.0 | lib/eve_online/esi/dogma_effect.rb |
eve_online-0.22.0 | lib/eve_online/esi/dogma_effect.rb |
eve_online-0.21.0 | lib/eve_online/esi/dogma_effect.rb |