Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Add reusable for attachments #75

Conversation

christophrumpel
Copy link

This PR adds the is_reusable key to the attachment payload. By default, it is false but you could activate it like this:

$attachment = new Image('https://laracon.eu/2018/assets/img/speaker_kai.jpg');
$attachment->addExtras('is_reusable', true);

@codecov
Copy link

codecov bot commented Aug 6, 2018

Codecov Report

Merging #75 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #75      +/-   ##
============================================
+ Coverage     70.48%   70.51%   +0.03%     
  Complexity      383      383              
============================================
  Files            34       34              
  Lines           952      953       +1     
============================================
+ Hits            671      672       +1     
  Misses          281      281
Impacted Files Coverage Δ Complexity Δ
src/FacebookDriver.php 83.15% <100%> (+0.08%) 74 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0820433...44f31af. Read the comment docs.

@christophrumpel christophrumpel merged commit dd4514d into botman:master Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant