Module: Devcal
- Defined in:
- lib/devcal.rb,
lib/devcal/version.rb,
lib/devcal/devcal_pb.rb,
lib/devcal/devcal_services_pb.rb
Overview
The Devcal module encapsulates all classes and methods related to the Devcal service.
Defined Under Namespace
Modules: EventsService Classes: Client, Error, InsecureClient, SecureClient
Constant Summary collapse
- VERSION =
"0.2.0"
- InsertEventParams =
::Google::Protobuf::DescriptorPool.generated_pool.lookup("devcal.InsertEventParams").msgclass
- GetEventParams =
::Google::Protobuf::DescriptorPool.generated_pool.lookup("devcal.GetEventParams").msgclass
- ListEventsRange =
::Google::Protobuf::DescriptorPool.generated_pool.lookup("devcal.ListEventsRange").msgclass
- ListEventsParams =
::Google::Protobuf::DescriptorPool.generated_pool.lookup("devcal.ListEventsParams").msgclass
- UpdateEventParams =
::Google::Protobuf::DescriptorPool.generated_pool.lookup("devcal.UpdateEventParams").msgclass
- DeleteEventParams =
::Google::Protobuf::DescriptorPool.generated_pool.lookup("devcal.DeleteEventParams").msgclass
- Event =
::Google::Protobuf::DescriptorPool.generated_pool.lookup("devcal.Event").msgclass
Class Method Summary collapse
-
.new_with_credentials(addr, api_key) ⇒ SecureClient
Creates a new SecureClient with the given credentials.
-
.new_with_insecure_credentials(addr, api_key) ⇒ InsecureClient
Creates a new InsecureClient with the given credentials.
Class Method Details
.new_with_credentials(addr, api_key) ⇒ SecureClient
Creates a new SecureClient with the given credentials.
89 90 91 |
# File 'lib/devcal.rb', line 89 def self.new_with_credentials(addr, api_key) SecureClient.new(addr, api_key) end |
.new_with_insecure_credentials(addr, api_key) ⇒ InsecureClient
Creates a new InsecureClient with the given credentials.
98 99 100 |
# File 'lib/devcal.rb', line 98 def self.new_with_insecure_credentials(addr, api_key) InsecureClient.new(addr, api_key) end |