Sha256: 93d26d73b3d9b4ba95c762c89c2fbf523c8e65ebea4dbe39b9841de2fee0efdf

Contents?: true

Size: 533 Bytes

Versions: 1

Compression:

Stored size: 533 Bytes

Contents

# frozen_string_literal: true

require 'sms77/resource'

# This module exposes the methods for communicating with the API endpoint /pricing.
module Sms77::Resources
  class Pricing < Sms77::Resource
    @endpoint = Sms77::Endpoint::PRICING
    @http_methods = {
      :retrieve => :get,
    }

    # Retrieve pricing
    # read more: https://www.sms77.io/en/docs/gateway/http-api/pricing/
    # @param params [Hash]
    # @return [Hash,String]
    def retrieve(params = {})
      request(params)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sms77-0.5.0 lib/sms77/resources/pricing.rb