Skip to content

.account instance_method fails to fetch account data #60

@mainangethe

Description

@mainangethe

Summary:

Calling .account as per official documentation fails with a NoMethodError or returns nil. This misleads developers attempting to confirm credentials or fetch balance.

Precondition:

Africa’s Talking Ruby gem installed

Sandbox or production credentials set

Steps to Reproduce:

require 'africastalking'

at = AfricasTalking::Initialize.new('sandbox', 'your_api_key')
account = at.account
response = account.fetchUserData

puts response

Expected Result:

An object or response hash containing account information including balance and username.

Actual Result:

Method .account appears undocumented or non-existent in actual gem source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions