Sha256: 72bba433a6bd6ff35da17ebddefd6c2cce669bddb39d94e41edae5d06ea91dd2
Contents?: true
Size: 602 Bytes
Versions: 3
Compression:
Stored size: 602 Bytes
Contents
# frozen_string_literal: true module MailerLite module Clients # MailerLite Account module Account # Get account information. # # @see https://developers.mailerlite.com/v2/reference#account # # @return [Hash] Response from API. def account result = connection.get('me') result && result.account end # Get account information. # # @see https://developers.mailerlite.com/v2/reference#stats # # @return [Hash] Response from API. def stats connection.get('stats') end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mailerlite-1.8.0 | lib/mailerlite/clients/account.rb |
mailerlite-1.7.0 | lib/mailerlite/clients/account.rb |
mailerlite-1.6.1 | lib/mailerlite/clients/account.rb |