File: response.rb

package info (click to toggle)
ruby-swd 2.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 184 kB
  • sloc: ruby: 510; makefile: 6
file content (11 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
module SWD
  class Response
    attr_accessor :locations, :location, :raw

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