Sha256: 35cbb3e1fcaa00f0bbc1493a207f85b3db77eb96bdfaf1cab70ef8124e5bed7a

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pwush-0.4.0 lib/pwush/response/value.rb