lib/thumbtack/posts.rb
# Create Post objects from posts response
#
# @return [Array<Post>]
#
# @api private
Create Post objects from posts response
Create Post objects from posts response
def posts_from(response)
      response.fetch("posts", EMPTY_ARRAY).map do |post_hash|
        Post.from_hash(post_hash)
      end
    end
def posts_from ( response ) response . fetch ( "posts" , EMPTY_ARRAY ) . map do | post_hash | Post . from_hash ( post_hash ) end end
Create Post objects from posts response
Create Post objects from posts response
None
Array<Post>
response
<not_specific>
api
None