Upload files to 'lib'
This commit is contained in:
		
							parent
							
								
									9441fbbe29
								
							
						
					
					
						commit
						276ce41784
					
				
							
								
								
									
										1
									
								
								lib/postman-ruby.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								lib/postman-ruby.rb
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| require 'postman' | ||||
							
								
								
									
										22
									
								
								lib/postman.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								lib/postman.rb
									
									
									
									
									
										Normal 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 | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user