Sha256: 2c10e97fc407386468c3e2a713572d3acd070f15f510c7109a4cb5804226c1ed
Contents?: true
Size: 647 Bytes
Versions: 2
Compression:
Stored size: 647 Bytes
Contents
# frozen_string_literal: true module DevRuby module Resources class FollowsResource < BaseResource def followed_tags(**params) params = to_default_pagination_params(params) response = get_request('follows/tags', params: params) if Helpers.expected_response?(response, 200) collection = Collection.from_response(response: response, type: DevRuby::Objects::Tag, params: params) Success(collection) else Failure(error_parser(response)) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dev_ruby-1.0.0 | lib/dev_ruby/resources/follows_resource.rb |
dev_ruby-0.2.0 | lib/dev_ruby/resources/follows_resource.rb |