Skip to content

Commit

Permalink
fix: bloomr_spec.rb update
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayna Bhattacharyya authored and Rayna Bhattacharyya committed Aug 1, 2024
1 parent 4f78de3 commit 6213bc6
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions spec/bloomr_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# frozen_string_literal: true

RSpec.describe Bloomr do
it "has a version number" do
expect(Bloomr::VERSION).not_to be nil
end

it "does something useful" do
# Bloomr.debug = true
api = Bloomr::Api.new(
api_url_base: 'https://sandbox.bloom.dev',
auth_url_base: 'https://auth.bloom.dev',
client_id: 'client_id',
client_secret: 'client_secret_key'
)
token = api.fetch_auth_token
# id = api.register_consumer(token, {
# 'first_name' => 'Michael',
# 'last_name' => 'Scott',
# 'city' => 'Scranton',
# 'line1' => '1725 Slough Avenue',
# 'state_code' => 'PA',
# 'zipcode' => '18503',
# "address_primary" => true,
# 'date_of_birth' => '1964-03-15',
# "ssn" => "123456789"
# })
# p id
api.get_credit_data(token, 1)
end
end

0 comments on commit 6213bc6

Please sign in to comment.