Sha256: 504e2ae12c86edda5190d9107876825fbe28bf8593e020915aef0e37daf7f159

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

module Safelylaunch
  class Client
    attr_reader :connection, :faraday_connection

    def initialize(connection)
      @connection = connection
    end

    def enable?(toggle_key)
      response = connection.get(toggle_key)
      response[:enable]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
safelylaunch-0.1.0 lib/safelylaunch/client.rb