Class: Devcal::InsecureClient
Overview
The InsecureClient class provides an insecure connection to the Devcal service.
Instance Method Summary collapse
-
#initialize(addr, api_key) ⇒ InsecureClient
constructor
Initializes a new InsecureClient instance.
Methods inherited from Client
#delete_event, #get_event, #insert_event, #list_events, #update_event
Constructor Details
#initialize(addr, api_key) ⇒ InsecureClient
Initializes a new InsecureClient instance.
66 67 68 69 |
# File 'lib/devcal.rb', line 66 def initialize(addr, api_key) @call_opts = { metadata: { authorization: "Bearer #{api_key}" } } @stub = ::Devcal::EventsService::Stub.new(addr, :this_channel_is_insecure) end |