1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
# Fields Endpoints.
module Behance
class Client
module Fields
# Public: Retrieve all Creative Fields (in 'fields').
#
# Examples
#
# @client.fields
#
# Returns an array of creative fields in JSON format.
def fields
request("fields")["fields"]
end
# Public: Retrieve all Creative Fields (in 'popular').
#
# Examples
#
# @client.popular
#
# Returns an array of popular creative fields in JSON format.
def popular
request("fields")["popular"]
end
end
end
end
|