Sha256: a0b654912ec541fa4aa6adac722c55f5d01f495aed0c5d68ccbe904d67599c8b
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
Contents
# frozen_string_literal: true require 'forwardable' module EveOnline module ESI class DogmaEffect < Base extend Forwardable API_PATH = '/v2/dogma/effects/%<effect_id>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 path format("#{ API_PATH }", effect_id: id) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.29.0 | lib/eve_online/esi/dogma_effect.rb |
eve_online-0.28.0 | lib/eve_online/esi/dogma_effect.rb |