lib/postman_mta.rb in postman_mta-0.1.3 vs lib/postman_mta.rb in postman_mta-0.1.4
- old
+ new
@@ -11,9 +11,12 @@
mattr_accessor :api_key
mattr_accessor :api_secret
mattr_accessor :api_endpoint
+ # This block will be executed before request, and return value will be merged to params hash
+ mattr_accessor :before_request_hook
+
def self.setup
yield self
end
end