lib/gvive/identity/driver.rb
def valid?
        @response = gvive_request(driver_endpoint, id_params({ coc: @id, fname: @fullname}))
        @data = @response.to_o
        @data.picture = @data.driver_image # Make API uniform
        @data.signature = @data.driver_signature # Make API Uniform
        @response.success?
      end
# Implementing valid? method signature as described in Identity Class
Implementing valid. method signature as described in Identity Class
Implementing valid . method signature as described in Identity Class
def valid?
        @response = gvive_request(driver_endpoint, id_params({ coc: @id, fname: @fullname}))
        @data = @response.to_o
        @data.picture = @data.driver_image 
        @data.signature = @data.driver_signature 
        @response.success?
      end
def valid? @response = gvive_request ( driver_endpoint , id_params ( { coc : @id , fname : @fullname } ) ) @data = @response . to_o @data . picture = @data . driver_image @data . signature = @data . driver_signature @response . success? end
Implementing valid?
Implementing valid?
# Make API uniform # Make API Uniform