Sha256: 9c72c04e450ceabf72fcb0f4b2ae1d18b750eb4b88a28497a6540236b1671fb8

Contents?: true

Size: 316 Bytes

Versions: 15

Compression:

Stored size: 316 Bytes

Contents

require 'abstractivator/enum'

define_enum :HyperionStatus,
            :success,
            :timed_out,
            :no_response,
            :bad_route,        # 404 (route not implemented)
            :client_error,     # 400
            :server_error,     # 500
            :check_code        # everything else

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyperion_http-0.6.0 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.5.0 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.3.0 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.2.4 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.2.3 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.2.2 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.2.1 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.1.9 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.1.8 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.1.7 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.1.6 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.1.5 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.1.4 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.1.3 lib/hyperion/types/hyperion_status.rb
hyperion_http-0.1.2 lib/hyperion/types/hyperion_status.rb