Class: Glassfrog::Circle
Overview
Encapsulates GlassFrog Circles.
Constant Summary collapse
- PATH =
'/circles'
- TYPE =
:circles
Instance Attribute Summary collapse
- #links ⇒ Hash
- #name ⇒ String
- #short_name ⇒ String
- #strategy ⇒ String
-
#sub_circles ⇒ Array<Glassfrog::Circle]
Array<Glassfrog::Circle].
Attributes inherited from Base
Class Method Summary collapse
-
.get(client, options) ⇒ Array<Glassfrog::Circle>
Sends a GET request for Circle(s) to GlassFrog.
Methods inherited from Base
Methods included from Utils
#extract_id, #parameterize, #symbolize_keys
Constructor Details
This class inherits a constructor from Glassfrog::Base
Instance Attribute Details
#links ⇒ Hash
12 13 14 |
# File 'lib/glassfrog/circle.rb', line 12 def links @links end |
#name ⇒ String
10 11 12 |
# File 'lib/glassfrog/circle.rb', line 10 def name @name end |
#short_name ⇒ String
10 11 12 |
# File 'lib/glassfrog/circle.rb', line 10 def short_name @short_name end |
#strategy ⇒ String
10 11 12 |
# File 'lib/glassfrog/circle.rb', line 10 def strategy @strategy end |
#sub_circles ⇒ Array<Glassfrog::Circle]
Returns Array<Glassfrog::Circle].
14 15 16 |
# File 'lib/glassfrog/circle.rb', line 14 def sub_circles @sub_circles end |