Class: CGIParty::CollectResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/cgi_party/collect_response.rb

Instance Attribute Summary

Attributes inherited from Response

#received_at

Instance Method Summary collapse

Methods inherited from Response

#initialize, #method_missing, #respond_to_missing?

Constructor Details

This class inherits a constructor from CGIParty::Response

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class CGIParty::Response

Instance Method Details

#authentication_finished?Boolean



5
6
7
# File 'lib/cgi_party/collect_response.rb', line 5

def authentication_finished?
  !authentication_ongoing?
end

#authentication_ongoing?Boolean



9
10
11
# File 'lib/cgi_party/collect_response.rb', line 9

def authentication_ongoing?
  ongoing_statuses.include? progress_status
end