Class: CoronaPresenceTracing::CWACheckIn
- Inherits:
-
Object
- Object
- CoronaPresenceTracing::CWACheckIn
- Includes:
- Base
- Defined in:
- lib/corona_presence_tracing/cwa_check_in.rb
Constant Summary collapse
- BASE_URL =
'https://e.coronawarn.app?v=1'
- PUBLIC_KEY =
'gwLMzE153tQwAOf2MZoUXXfzWTdlSpfS99iZffmcmxOG9njSK4RTimFOFwDh6t0T' \ 'yw8XR01ugDYjtuKwjjuK49Oh83FWct6XpefPi9Skjxvvz53i9gaMmUEc96pbtoaA'
Instance Attribute Summary collapse
-
#default_check_in_length ⇒ Object
readonly
Returns the value of attribute default_check_in_length.
-
#location_type ⇒ Object
readonly
Returns the value of attribute location_type.
Attributes included from Base
#address, #description, #end_time, #start_time
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ CWACheckIn
constructor
A new instance of CWACheckIn.
Methods included from Base
#encoded_payload, included, #url
Constructor Details
#initialize(options = {}) ⇒ CWACheckIn
Returns a new instance of CWACheckIn.
32 33 34 35 36 |
# File 'lib/corona_presence_tracing/cwa_check_in.rb', line 32 def initialize( = {}) @location_type = [:location_type] @default_check_in_length = [:default_check_in_length] super end |
Instance Attribute Details
#default_check_in_length ⇒ Object (readonly)
Returns the value of attribute default_check_in_length.
14 15 16 |
# File 'lib/corona_presence_tracing/cwa_check_in.rb', line 14 def default_check_in_length @default_check_in_length end |
#location_type ⇒ Object (readonly)
Returns the value of attribute location_type.
14 15 16 |
# File 'lib/corona_presence_tracing/cwa_check_in.rb', line 14 def location_type @location_type end |