Sha256: c7fa28dbc23209b449f831072a105f78080beb34df4fac0f6ae6d47c6729950b
Contents?: true
Size: 736 Bytes
Versions: 7
Compression:
Stored size: 736 Bytes
Contents
module CandyCheck module PlayStore # Represents a failing call against the Google API server class VerificationFailure include Utils::AttributeReader # @return [Hash] the raw attributes returned from the server attr_reader :attributes # Initializes a new instance which bases on a JSON result # from Google API servers # @param attributes [Hash] def initialize(attributes) @attributes = attributes || {} end # The code of the failure # @return [Fixnum] def code read('code') || -1 end # The message of the failure # @return [String] def message read('message') || 'Unknown error' end end end end
Version data entries
7 entries across 7 versions & 1 rubygems