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

Update BlogPost resource to have correct attributes #115

Merged
merged 1 commit into from
Jun 21, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions lib/bigcommerce/resources/content/blog_post.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,19 @@ class BlogPost < Resource

property :id
property :url
property :count
property :preview_url
property :body
property :tags
property :summary
property :title
property :content
property :author
property :author_url
property :is_published
property :published_date
property :published_at
property :meta_description
property :meta_keywords
property :thumbnail_path
property :count

def self.count
get 'blog/posts/count'
Expand Down