Sha256: cc4c205d79a2502e0e54a86b808aae6f61ac77cf14f1c5095bd4fc442902038d
Contents?: true
Size: 355 Bytes
Versions: 5
Compression:
Stored size: 355 Bytes
Contents
# frozen_string_literal: true module HackerOne module Client class BillingBalance delegate :balance, to: :attributes def initialize(billing_balance) @billing_balance = OpenStruct.new billing_balance end private def attributes OpenStruct.new(@billing_balance[:attributes]) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems