Sha256: 2053ce3f4ceabed5e99c557548030d23f5b2817dc802dd68600beb47115ae459

Contents?: true

Size: 478 Bytes

Versions: 15

Compression:

Stored size: 478 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

15 entries across 15 versions & 1 rubygems

Version Path
eve_online-0.29.0 lib/eve_online/esi/models/standing.rb
eve_online-0.28.0 lib/eve_online/esi/models/standing.rb
eve_online-0.27.0 lib/eve_online/esi/models/standing.rb
eve_online-0.26.0 lib/eve_online/esi/models/standing.rb
eve_online-0.25.0 lib/eve_online/esi/models/standing.rb
eve_online-0.24.0 lib/eve_online/esi/models/standing.rb
eve_online-0.23.0 lib/eve_online/esi/models/standing.rb
eve_online-0.22.0 lib/eve_online/esi/models/standing.rb
eve_online-0.21.0 lib/eve_online/esi/models/standing.rb
eve_online-0.20.0 lib/eve_online/esi/models/standing.rb
eve_online-0.19.0 lib/eve_online/esi/models/standing.rb
eve_online-0.18.0 lib/eve_online/esi/models/standing.rb
eve_online-0.17.0 lib/eve_online/esi/models/standing.rb
eve_online-0.16.0 lib/eve_online/esi/models/standing.rb
eve_online-0.15.0 lib/eve_online/esi/models/standing.rb