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

Chargify::Statement.find_pdf method #116

Merged
merged 2 commits into from
Oct 6, 2015
Merged

Chargify::Statement.find_pdf method #116

merged 2 commits into from
Oct 6, 2015

Conversation

hoblin
Copy link
Contributor

@hoblin hoblin commented Jul 23, 2015

pdf_data = Chargify::Statement.find_pdf(statement.id)
File.open(file_path, 'wb+') do |f|
  f.write pdf_data
end

@drewblas
Copy link
Contributor

Thanks very much!

Could you add your example of how to use this method as a comment on the method? And also add the example to the README? Then I'll merge this in and cut a new release

@hoblin
Copy link
Contributor Author

hoblin commented Sep 24, 2015

@drewblas done

@drewblas
Copy link
Contributor

drewblas commented Oct 6, 2015

Thanks very much!

I'm merging this in.

drewblas added a commit that referenced this pull request Oct 6, 2015
Chargify::Statement.find_pdf method
@drewblas drewblas merged commit 3709b12 into chargify:master Oct 6, 2015
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.

2 participants