Sha256: 1e4af1705418b713774953dc511af67f1800b366fcd86d6ec08c58adbb3adb54

Contents?: true

Size: 283 Bytes

Versions: 9

Compression:

Stored size: 283 Bytes

Contents

# typed: strict
#require 'sorbet-runtime'

# (1) Create a new class that subclasses `T::Struct`
class Signature < T::Struct
  # (2) Declare fields on the struct with the `prop` and `const` DSL
  prop :timestamp, Integer
  const :api_key, String
  const :calculated_hash, String
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
researchable-freedcamp-api-0.1.8 lib/researchable/freedcamp_api/structs/signature.rb
researchable-freedcamp-api-0.1.7 lib/researchable/freedcamp_api/structs/signature.rb
researchable-freedcamp-api-0.1.6 lib/researchable/freedcamp_api/structs/signature.rb
researchable-freedcamp-api-0.1.5 lib/researchable/freedcamp_api/structs/signature.rb
researchable-freedcamp-api-0.1.4 lib/researchable/freedcamp_api/structs/signature.rb
researchable-freedcamp-api-0.1.3 lib/researchable/freedcamp_api/structs/signature.rb
researchable-freedcamp-api-0.1.2 lib/researchable/freedcamp_api/structs/signature.rb
researchable-freedcamp-api-0.1.1 lib/researchable/freedcamp_api/structs/signature.rb
researchable-freedcamp-api-0.1.0 lib/researchable/freedcamp_api/structs/signature.rb