Sha256: 55993ee4ef95426fda08c6cacfb0bccf513e211d5faddc6f04eb73193397ca0b

Contents?: true

Size: 393 Bytes

Versions: 2

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

require "stripe"
require "date"

class NewExample
  attr_accessor :api_key

  def initialize(api_key)
    @api_key = api_key
  end

  def do_something_great
    puts "Hello World"
    # client = Stripe::StripeClient.new(api_key)
    # client.v1
  end
end

# Send meter events
api_key = "{{API_KEY}}"

example = NewExample.new(api_key)
example.do_something_great

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stripe-13.1.0.pre.beta.2 examples/new_example.rb
stripe-13.0.0 examples/new_example.rb