class Aucklandia::Client

Attributes

authorization_key[R]

Public Class Methods

new(authorization_key) click to toggle source
# File lib/aucklandia/client.rb, line 19
def initialize(authorization_key)
  @authorization_key = authorization_key
end

Public Instance Methods

headers() click to toggle source
# File lib/aucklandia/client.rb, line 23
def headers
  {
    "Ocp-Apim-Subscription-Key" => @authorization_key
  }
end