lib/cryptograpi_ruby.rb in cryptograpi_ruby-0.0.1 vs lib/cryptograpi_ruby.rb in cryptograpi_ruby-0.0.1.1

- old
+ new

@@ -1,2 +1,18 @@ # frozen_string_literal: true -# TBC + +module CryptograpiRuby + class << self + attr_accessor :api_token, :project_id + # attr_writer :locales_path + + # Let's provide a straightforward way + # to provide options, like + # CryptograpiRuby.config do |c| + # c.api_token = '123' + # c.project_id = '345' + # end + def config + yield self + end + end +end \ No newline at end of file