seated / apus Goto Github PK
View Code? Open in Web Editor NEWApus is a testable and adapter based Elixir SMS library
License: MIT License
Apus is a testable and adapter based Elixir SMS library
License: MIT License
In the spirit of adapter-based clients, it would be good if the http client were configurable, too.
Tesla is the best Elixir HTTP client because it's all of them and none of them.
Now that we support more than one adapter we need to update the README to detail the config values required by the selected adapter.
In my my_app/lib/my_app_web/router.ex
:
defmodule MyApp.Router do
use MyApp.Web, :router
if Mix.env == :dev do
forward("/sent_messages", Apus.SentMessagesViewerPlug)
end
end
After iex -S mix
, it tells:
** (UndefinedFunctionError) function Apus.SentMessagesViewerPlug.init/1 is undefined (module Apus.SentMessagesViewerPlug is not available)
Apus.SentMessagesViewerPlug.init([])
And I checked the file, no init() and call() functions, which should be required by Plug module.
It looks as though there is timing issue in the twilio_adapter_test
file for test "deliver/2 passes request_options to hackney"
as I saw this occasionally failing in travis. This probably just requires a small Process.sleep
to ensure some time is taken during the test.
I see the license is MIT: https://github.com/seated/apus/blob/master/mix.exs#L43
But it would be good to include a LICENSE file in the root of the repo
The Apus.Message
struct should have an attribute for containing the messaging service sid used to send the message when this has been configured for that instance of the sms sender.
This value would also need to be shown in the sent messages web view in place of the from field when there is no from value.
Update the log_sent
function to include the name of which adapter is being used.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.