Sha256: fab87856f61918e79ec80c514d9936da6a9dc863051b4d5047bfdccc9d2e8c78

Contents?: true

Size: 585 Bytes

Versions: 5

Compression:

Stored size: 585 Bytes

Contents

# frozen_string_literal: true
class Cognito
  class Client
    class Command
      class RetrieveIdentityLocation < self
        include Concord.new(:connection, :endpoint)

        private

        def present_response
          identity_resource
        end

        def identity_resource
          Response::IdentitySearch.build(response, connection)
        end

        def success?
          response.code.equal?(200)
        end

        def request
          Request.get(endpoint)
        end
      end # RetrieveIdentityLocation
    end # Command
  end # Client
end # Cognito

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cognito-client-0.5.4 lib/cognito/client/commands/retrieve_identity_location.rb
cognito-client-0.5.3 lib/cognito/client/commands/retrieve_identity_location.rb
cognito-client-0.5.2 lib/cognito/client/commands/retrieve_identity_location.rb
cognito-client-0.5.1 lib/cognito/client/commands/retrieve_identity_location.rb
cognito-client-0.5.0 lib/cognito/client/commands/retrieve_identity_location.rb