Sha256: d5258bc3910a9f34615605848920ab3392a9629218dbc8bd1678c972b08a0ba6
Contents?: true
Size: 346 Bytes
Versions: 8
Compression:
Stored size: 346 Bytes
Contents
class BookingSync::Engine::ApplicationCredentials attr_reader :client_id attr_reader :client_secret def initialize(application = nil) if application.present? @client_id = application.client_id @client_secret = application.client_secret end end def valid? client_id.present? && client_secret.present? end end
Version data entries
8 entries across 8 versions & 1 rubygems