Sha256: 11fb217dfe7fe10ace32a0aaac1e63d6172a22ee74a0e8795a00fbfe1fa97f93

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class Standing < Base
        def as_json
          {
            from_id: from_id,
            from_type: from_type,
            standing: standing,
          }
        end

        def from_id
          options["from_id"]
        end

        def from_type
          options["from_type"]
        end

        def standing
          options["standing"]
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eve_online-0.31.0 lib/eve_online/esi/models/standing.rb
eve_online-0.30.0 lib/eve_online/esi/models/standing.rb