Sha256: 6320a93597fd6389ae8e24cf2460f08c9782bcbdf66e89f107c22d60b3719f56

Contents?: true

Size: 366 Bytes

Versions: 7

Compression:

Stored size: 366 Bytes

Contents

module Fog
  module Monitoring
    class Rackspace
      class Real

        def create_agent_token(options = {})
          data = options.dup
          request(
            :body     => JSON.generate(data),
            :expects  => [201],
            :method   => 'POST',
            :path     => 'agent_tokens'
          )
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rackspace-monitoring-0.2.6 lib/rackspace-monitoring/monitoring/requests/create_agent_token.rb
rackspace-monitoring-0.2.5 lib/rackspace-monitoring/monitoring/requests/create_agent_token.rb
rackspace-monitoring-0.2.4 lib/rackspace-monitoring/monitoring/requests/create_agent_token.rb
rackspace-monitoring-0.2.3 lib/rackspace-monitoring/monitoring/requests/create_agent_token.rb
rackspace-monitoring-0.2.2 lib/rackspace-monitoring/monitoring/requests/create_agent_token.rb
rackspace-monitoring-0.2.1 lib/rackspace-monitoring/monitoring/requests/create_agent_token.rb
rackspace-monitoring-0.2.0 lib/rackspace-monitoring/monitoring/requests/create_agent_token.rb