class Postwill::Providers::Base
Attributes
client[R]
Public Instance Methods
call(options = {})
click to toggle source
# File lib/postwill/providers/base.rb, line 6 def call(options = {}) Dry::Monads::Right(post(options)) rescue Exception => error Dry::Monads::Left(error) end
Private Instance Methods
post(options)
click to toggle source
# File lib/postwill/providers/base.rb, line 14 def post(options) raise NotImplementedError end