# `Pipette.ScopeRef`
[🔗](https://github.com/tommeier/pipette-buildkite-plugin/blob/main/lib/pipette/scope_ref.ex#L1)

A reference to a named scope within a group.

Created by the `scope/1,2` call inside a `group` block:

    group :deploy do
      scope(:web_code)                          # simple binding
      scope(:web_code, ignore_global: true)     # opt out of scopes: :all
    end

## Fields

  * `:name` (`atom()`) — the scope name to bind to (must match a
    top-level `scope` definition)
  * `:ignore_global` (`boolean()`) — when `true`, the parent group
    is excluded from `scopes: :all` branch policy activation and
    falls back to file-based scope detection. Defaults to `false`.

# `t`

```elixir
@type t() :: %Pipette.ScopeRef{
  __identifier__: term(),
  __spark_metadata__: term(),
  ignore_global: boolean(),
  name: atom()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
