Sha256: 745e6a300a35da5cf1a18a30b049ef5b7c04f0ad4b3a35725356f67bd7cedb59
Contents?: true
Size: 905 Bytes
Versions: 2
Compression:
Stored size: 905 Bytes
Contents
# frozen_string_literal: true module Qravan module Credentials # Request credentials class Request attr_accessor :credentials def initialize(credentials) @credentials = credentials["request"] end def prepare { id: id, sub_id: sub_id, name: name, purpose_id: purpose, audit: audit, audit_id: audit_id, audit_token: audit_token } end def id @credentials["id"] end def sub_id @credentials["sub_id"] end def name @credentials["name"] end def purpose @credentials["purpose_id"] end def audit @credentials["audit"] end def audit_id @credentials["audit_id"] end def audit_token @credentials["audit_token"] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qravan-0.1.1 | lib/qravan/credentials/request.rb |
qravan-0.1.0 | lib/qravan/credentials/request.rb |