Upload files to 'lib'

This commit is contained in:
nikkel 2020-03-20 02:23:46 +07:00
parent 9441fbbe29
commit 276ce41784
2 changed files with 23 additions and 0 deletions

1
lib/postman-ruby.rb Normal file
View File

@ -0,0 +1 @@
require 'postman'

22
lib/postman.rb Normal file
View File

@ -0,0 +1,22 @@
require 'postman/client'
require 'postman/config'
module Postman
def self.config
@config ||= Config.new
end
def self.configure(&block)
block.call(config)
end
def self.send_message(&block)
Postman::Client.instance.send_message(&block)
end
def self.send_raw_message(&block)
Postman::Client.instance.send_raw_message(&block)
end
end