Sha256: 257939ee2f3bf986510945be49d7370cdc76d523692e1b30c4a427b481d21110

Contents?: true

Size: 193 Bytes

Versions: 33

Compression:

Stored size: 193 Bytes

Contents

module Mirage
  class Requests
    include HTTParty

    def initialize base_url
      @url = "#{base_url}/requests"
    end

    def delete_all
      self.class.delete(@url)
    end
  end
end

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
mirage-3.0.14 lib/mirage/client/requests.rb
mirage-3.0.13 lib/mirage/client/requests.rb
mirage-3.0.12 lib/mirage/client/requests.rb
mirage-3.0.11 lib/mirage/client/requests.rb
mirage-3.0.10 lib/mirage/client/requests.rb
mirage-3.0.9 lib/mirage/client/requests.rb
mirage-on-thin-3.0.8 lib/mirage/client/requests.rb
mirage-3.0.8 lib/mirage/client/requests.rb
mirage-3.0.7 lib/mirage/client/requests.rb
mirage-3.0.6 lib/mirage/client/requests.rb
mirage-3.0.5 lib/mirage/client/requests.rb
mirage-3.0.4 lib/mirage/client/requests.rb
mirage-3.0.3 lib/mirage/client/requests.rb
mirage-3.0.2 lib/mirage/client/requests.rb
mirage-3.0.1 lib/mirage/client/requests.rb
mirage-3.0.0 lib/mirage/client/requests.rb
mirage-3.0.0.alpha.17 lib/mirage/client/requests.rb
mirage-3.0.0.alpha.16 lib/mirage/client/requests.rb
mirage-3.0.0.alpha.15 lib/mirage/client/requests.rb
mirage-3.0.0.alpha.14 lib/mirage/client/requests.rb