Sha256: 7936b239a002b7164ae8cc2d8d0da7bb3b2bfc0f3192af32d8e7d5d9ff3062c1

Contents?: true

Size: 404 Bytes

Versions: 8

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

require_relative '../api_client'
module Renstar
  module APIClient
    # Interface to the "Control" portion of the Venstar API
    # This can be used to send a hash of raw options to the API
    # bypassing the convenience methods built into `Thermostat`
    #
    module Control
      def control(options = {})
        post('control', options)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
renstar-0.3.1 lib/renstar/api_client/control.rb
renstar-0.3.0 lib/renstar/api_client/control.rb
renstar-0.2.1 lib/renstar/api_client/control.rb
renstar-0.2.0 lib/renstar/api_client/control.rb
renstar-0.1.3 lib/renstar/api_client/control.rb
renstar-0.1.2 lib/renstar/api_client/control.rb
renstar-0.1.1 lib/renstar/api_client/control.rb
renstar-0.1.0 lib/renstar/api_client/control.rb