Module: Behance::Client::Fields
- Included in:
- Behance::Client
- Defined in:
- lib/behance/fields.rb
Instance Method Summary collapse
-
#fields ⇒ Object
Public: Retrieve all Creative Fields (in ‘fields’).
-
#popular ⇒ Object
Public: Retrieve all Creative Fields (in ‘popular’).
Instance Method Details
#fields ⇒ Object
Public: Retrieve all Creative Fields (in ‘fields’).
Examples
@client.fields
Returns an array of creative fields in JSON format.
12 13 14 |
# File 'lib/behance/fields.rb', line 12 def fields request("fields")["fields"] end |
#popular ⇒ Object
Public: Retrieve all Creative Fields (in ‘popular’).
Examples
@client.popular
Returns an array of popular creative fields in JSON format.
23 24 25 |
# File 'lib/behance/fields.rb', line 23 def popular request("fields")["popular"] end |