Sha256: 1bea90006377d5971877af6f912841f835fd6da096c7457ee758335436426085

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

module Pwush
  module Response
    class Value < Dry::Struct::Value
      attribute :status_code, Types::Coercible::Integer
      attribute :status_message, Types::Strict::String.meta(omittable: true)
      attribute :body, (Types::Hash | Types::String).meta(omittable: true)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pwush-0.2.0 lib/pwush/response/value.rb
pwush-0.1.5 lib/pwush/response/value.rb