Module: BundleUpdateInteractive::HTTP::Success

Defined in:
lib/bundle_update_interactive/http.rb

Instance Method Summary collapse

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/bundle_update_interactive/http.rb', line 10

def success?
  code.start_with?("2")
end