Class: PachubeStream::HtmlRequest

Inherits:
Hashie::Dash
  • Object
show all
Defined in:
lib/pachube-stream/html_request.rb

Instance Method Summary collapse

Instance Method Details

#api_key=(api_key) ⇒ Object



11
12
13
# File 'lib/pachube-stream/html_request.rb', line 11

def api_key=(api_key)
  headers["X-PachubeApiKey"] = api_key
end