module GlobalSign

Constants

VERSION

Attributes

configuration[RW]
contract[RW]

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/global_sign.rb, line 35
def configure
  @configuration ||= Configuration.new
  yield @configuration if block_given?
end
set_contract() { |contract| ... } click to toggle source
# File lib/global_sign.rb, line 40
def set_contract
  # initialize with nil, because the initialize method requires keyword args
  @contract ||= Contract.new(first_name: nil, last_name: nil, phone_number: nil, email: nil)
  yield @contract if block_given?
end