Sha256: 37b5630c55a8389e4b965ae8dde55cf5c9546c859a7c3db6dce019184f1b0a12

Contents?: true

Size: 206 Bytes

Versions: 26

Compression:

Stored size: 206 Bytes

Contents

module SWD
  class Response
    attr_accessor :locations, :location, :raw

    def initialize(hash)
      @locations = hash[:locations]
      @location = @locations.first
      @raw = hash
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
swd-2.0.3 lib/swd/response.rb
swd-2.0.2 lib/swd/response.rb
swd-2.0.1 lib/swd/response.rb
swd-2.0.0 lib/swd/response.rb
swd-1.3.0 lib/swd/response.rb
swd-1.2.0 lib/swd/response.rb
swd-1.1.2 lib/swd/response.rb
swd-1.1.1 lib/swd/response.rb
swd-1.1.0 lib/swd/response.rb
swd-1.0.1 lib/swd/response.rb
swd-1.0.0 lib/swd/response.rb
swd-0.2.1 lib/swd/response.rb
swd-0.2.0 lib/swd/response.rb
swd-0.1.2 lib/swd/response.rb
swd-0.1.1 lib/swd/response.rb
swd-0.1.0 lib/swd/response.rb
swd-0.0.9 lib/swd/response.rb
swd-0.0.8 lib/swd/response.rb
swd-0.0.7 lib/swd/response.rb
swd-0.0.6 lib/swd/response.rb