Class: Unitpost::Resources::Usage

Inherits:
Base
  • Object
show all
Defined in:
lib/unitpost/resources.rb

Overview

NOTE (pre-launch): the Events resource (POST /v1/events) is intentionally absent while the automations/custom-events surface is behind the launch gate. Restore it (class Events + client wiring) when the surface ships.

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Unitpost::Resources::Base

Instance Method Details

#getObject

Current billing-period snapshot: plan, period window, emails sent, and (paid plans) the dollar sending wallet in integer USD cents.



459
460
461
# File 'lib/unitpost/resources.rb', line 459

def get
  @http.request("GET", "/usage")
end